Skip to content

Commit

Permalink
adds missing styling for map popup tip
Browse files Browse the repository at this point in the history
  • Loading branch information
agnlez authored and Andrés González committed Nov 13, 2024
1 parent 174fef7 commit 2137e99
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions client/src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,31 @@ body {
}
}

.mapboxgl-popup-tip {
@apply !border-t-popover !z-10 relative;
/* mapbox styles */
.mapboxgl-popup-anchor-top {
.mapboxgl-popup-tip {
@apply !border-b-popover !z-10 relative;
}
}

.mapboxgl-popup-anchor-bottom {
.mapboxgl-popup-tip {
@apply !border-t-popover !z-10 relative;
}
}

.mapboxgl-popup-anchor-left {
.mapboxgl-popup-tip {
@apply !border-r-popover !z-10 relative;
}
}

.mapboxgl-popup-anchor-right {
.mapboxgl-popup-tip {
@apply !border-l-popover !z-10 relative;
}
}

.mapboxgl-popup-content {
@apply !bg-popover !rounded-md border border-border text-big-stone-50 shadow-md;
}
Expand Down

0 comments on commit 2137e99

Please sign in to comment.