]> git.openstreetmap.org Git - rails.git/commitdiff
Disable zoom buttons when zoom limit is reached
authorTom Hughes <tom@compton.nu>
Wed, 9 Nov 2016 16:09:32 +0000 (16:09 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 9 Nov 2016 16:09:32 +0000 (16:09 +0000)
Fixes #1365

app/assets/stylesheets/common.scss

index 4529248c58f134b5925b3c829135899433771efb..2a00f1b060c0222e26a4bd77ca5e0b748abe0627 100644 (file)
@@ -491,7 +491,8 @@ body.compact {
     background-color: black;
   }
 
     background-color: black;
   }
 
-  &.disabled {
+  &.disabled,
+  &.leaflet-disabled {
     background-color: #333;
     background-color: rgba(0,0,0,.5);
     cursor: default;
     background-color: #333;
     background-color: rgba(0,0,0,.5);
     cursor: default;