[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 19:51:56 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;

You changed this from `background-color` to `color` back to `background-color` for what reason?

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

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


More information about the rails-dev mailing list