[openstreetmap/openstreetmap-website] Fix geolocate `background-color` not being properly applied and improve css maintainability (PR #6748)

Marwin Hochfelsner notifications at github.com
Wed Jan 28 20:25:31 UTC 2026


@hlfan commented on this pull request.



>  
-.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon {
-  background-color: $vibrant-green;
+    &.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon {
+      color: $vibrant-green;

But before the switch to the bootstrap icons it already worked like the leaflet map.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6748#discussion_r2738474772
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6748/review/3719004493 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260128/c7917b4b/attachment-0001.htm>


More information about the rails-dev mailing list