]> git.openstreetmap.org Git - rails.git/commitdiff
Merge remote-tracking branch 'upstream/pull/4712'
authorTom Hughes <tom@compton.nu>
Tue, 30 Apr 2024 17:46:14 +0000 (18:46 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 30 Apr 2024 17:46:14 +0000 (18:46 +0100)
app/assets/stylesheets/common.scss
app/views/layouts/map.html.erb

index 7c31b3cb1f20fdf19f4bbfb825ab972cbabad64e..84d78814bc6635f4afc5ccb07c32af97167ab974 100644 (file)
@@ -474,6 +474,13 @@ body.small-nav {
   }
 }
 
+@include color-mode(dark) {
+  .leaflet-tile-container,
+  .mapkey-table-entry td:first-child > * {
+    filter: brightness(.8);
+  }
+}
+
 /* Rules for attribution text under the main map shown on printouts */
 
 .donate-attr { color: darken($green, 10%) !important; }
index bcbe2096803e6117f1733f5f563cad1a1442fea3..0630dace5bc0f93e3ebbbae7e646f7a216a5cc5f 100644 (file)
@@ -69,7 +69,7 @@
   <div id="map-ui" class="bg-body z-2">
   </div>
 
-  <div id="map" tabindex="2" class="z-0">
+  <div id="map" tabindex="2" class="bg-body-secondary z-0">
   </div>
 
   <div id="attribution" class="d-none">