From: Marwin Hochfelsner <50826859+hlfan@users.noreply.github.com> Date: Sun, 17 Nov 2024 14:28:06 +0000 (+0100) Subject: Enable dark mode attribution font color X-Git-Tag: live~19^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/abb923382c8a1a78aee45ce9a0a5e78b167ded51?hp=22942b1ca144444bdece1636451fd3ad86530b3e Enable dark mode attribution font color Increases the specificity of the dark mode attribution selector. This makes it overwrite Leaflet's default link selector. --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 31ce7dd28..027e6e6a3 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -507,7 +507,7 @@ body.small-nav { filter: brightness(.8); } - .leaflet-control-attribution a { + .leaflet-container .leaflet-control-attribution a { color: var(--bs-link-color); }