From f27aaa59128d40a2c1fb1c90a3c5ea7cf4930980 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Wed, 28 Jan 2026 19:29:24 +0100 Subject: [PATCH] Merge the two rules targeting `.maplibregl-ctrl` --- app/assets/stylesheets/maplibre-gl-all.scss | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/app/assets/stylesheets/maplibre-gl-all.scss b/app/assets/stylesheets/maplibre-gl-all.scss index d2008e0fe..6c3c54460 100644 --- a/app/assets/stylesheets/maplibre-gl-all.scss +++ b/app/assets/stylesheets/maplibre-gl-all.scss @@ -30,6 +30,14 @@ &:last-child:focus { border-radius: 0 0 0 4px; } + + .maplibregl-ctrl-icon { + background-image: none; + } + + &.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon { + color: $vibrant-green; + } } } @@ -52,14 +60,4 @@ .maplibregl-user-location-dot:before { background-color: $vibrant-green; } - - .maplibregl-ctrl button { - .maplibregl-ctrl-icon { - background-image: none; - } - - &.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon { - color: $vibrant-green; - } - } } -- 2.39.5