From d934d6f543b30d9e5247dcf9f0c0b94efa8516a8 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Wed, 8 May 2024 14:07:55 +0300 Subject: [PATCH] Lighten Leaflet scale control borders in dark mode --- app/assets/stylesheets/common.scss | 4 ++++ 1 file changed, 4 insertions(+) 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 */ -- 2.39.5