Skip to content

Commit

Permalink
Added border-radius to map (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
barrfalk authored Aug 17, 2023
1 parent 6385bb7 commit 3d4de30
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ const LeafletMapWithPoint: FC<Props> = ({ coordinates, draggable }) => {
center={latLng}
zoom={12}
style={{ height: "400px", width: "100%" }}
className="map-container"
>
<Centerer />
<TileLayer url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" />
Expand Down
4 changes: 4 additions & 0 deletions frontend/src/assets/sass/maps.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@
font-size: 40px;
text-align: center; /* Horizontally center the text (icon) */
line-height: 20px; /* Vertically center the text (icon) */
}

.map-container {
border-radius: 4px;
}

0 comments on commit 3d4de30

Please sign in to comment.