Skip to content

Commit

Permalink
ui: Update MapControlsWrapper styles for better responsiveness
Browse files Browse the repository at this point in the history
  • Loading branch information
0niel committed Aug 31, 2024
1 parent 852db21 commit 4bba75e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/map/map-controls-wrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const MapControlsWrapper = ({
}}
/>

<div className="fixed bottom-0 z-30 w-full -translate-y-1/2 transform px-2 sm:fixed sm:bottom-5 sm:translate-y-0 md:px-8">
<div className="fixed bottom-0 z-30 w-full -translate-y-1/4 transform px-4 sm:fixed sm:bottom-5 md:translate-y-0 md:px-8">
<MapControls
onZoomIn={() => transformComponentRef.current?.zoomIn()}
onZoomOut={() => transformComponentRef.current?.zoomOut()}
Expand Down

0 comments on commit 4bba75e

Please sign in to comment.