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

Frank Elsinga notifications at github.com
Wed Jan 28 20:12:16 UTC 2026


@CommanderStorm 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;

The first change fixes it to how this worked before the DRY PR.
The second change changes this to work like the leaflet map.

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

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


More information about the rails-dev mailing list