From: Anton Khorev Date: Mon, 9 Dec 2024 12:51:07 +0000 (+0300) Subject: Disable filter inheritance on tiles, apply filter to tile container X-Git-Tag: live^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/b87983c2baf55d437c09e668188454d01b5f20b0?ds=inline;hp=-c Disable filter inheritance on tiles, apply filter to tile container --- b87983c2baf55d437c09e668188454d01b5f20b0 diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index b0b706562..c1e71cc2d 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -506,11 +506,15 @@ body.small-nav { } @include color-mode(dark) { - .leaflet-tile-container .leaflet-tile, + .leaflet-tile-container, .mapkey-table-entry td:first-child > * { filter: var(--dark-mode-map-filter); } + .leaflet-tile-container .leaflet-tile { + filter: none; + } + .leaflet-container .leaflet-control-attribution a { color: var(--bs-link-color); }