Commit 1bf9338 1 parent 8374d59 commit 1bf9338 Copy full SHA for 1bf9338
File tree 3 files changed +11
-3
lines changed
3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -192,11 +192,15 @@ const Index: FC<{
192
192
) }
193
193
/>
194
194
195
- < div className = { `relative ${ isShowingMap ? 'visible' : 'invisible' } ` } >
195
+ < div
196
+ className = { `relative md:visible ${
197
+ isShowingMap ? 'visible' : 'invisible'
198
+ } `}
199
+ >
196
200
{ ! ! bounds && (
197
201
< Button
198
202
color = "light"
199
- className = "absolute z-10 flex items-center justify-center p-2 text-gray-800 bg-white rounded-full cursor-pointer animate-fadeIn top-5 gap-2 left-1/2"
203
+ className = "absolute z-10 flex items-center justify-center p-2 text-gray-800 bg-white rounded-full cursor-pointer translate--50p animate-fadeIn top-5 gap-2 left-1/2"
200
204
onClick = { ( ) => searchMapWithinBounds ( ) }
201
205
size = "sm"
202
206
>
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ const OverlayBubble: FC<{ trip: Trip; map: google.maps.Map }> = ({
54
54
return (
55
55
< >
56
56
{ isOpened ? (
57
- < div className = "relative max-w-lg p-3 text-lg text-gray-900 bg-white rounded-lg -top-16 -left-12 " >
57
+ < div className = "relative max-w-lg p-3 text-black bg-white rounded-lg w-78 " >
58
58
< button
59
59
className = "absolute top-0 right-0"
60
60
onClick = { handleBubbleClick }
Original file line number Diff line number Diff line change @@ -92,6 +92,10 @@ nav a { text-decoration: none; }
92
92
93
93
}
94
94
95
+ .translate--50 {
96
+ transform : translate (-50% , 0 );
97
+ }
98
+
95
99
96
100
.dark input {
97
101
color : # 000 ;
You can’t perform that action at this time.
0 commit comments