From 77182b7b5db25fec892097a988856095498f7291 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Mon, 9 Dec 2024 15:51:07 +0300 Subject: [PATCH] Disable filter inheritance on tiles, apply filter to tile container --- app/assets/stylesheets/common.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 88c5e124a3..7939bfba22 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -507,11 +507,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); }