Skip to content

Commit

Permalink
Disable filter inheritance on tiles, apply filter to tile container
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonKhorev committed Dec 11, 2024
1 parent 7317072 commit b87983c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/assets/stylesheets/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit b87983c

Please sign in to comment.