From: Anton Khorev Date: Wed, 8 May 2024 11:07:55 +0000 (+0300) Subject: Lighten Leaflet scale control borders in dark mode X-Git-Tag: live~594^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/d934d6f543b30d9e5247dcf9f0c0b94efa8516a8?ds=sidebyside Lighten Leaflet scale control borders in dark mode --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 3c75a6766..0fd3317e0 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -489,6 +489,10 @@ body.small-nav { .leaflet-control-attribution a { color: var(--bs-link-color); } + + .leaflet-control-scale-line { + @extend .border-light, .border-opacity-75; + } } /* Rules for attribution text under the main map shown on printouts */