From: Tom Hughes Date: Wed, 9 Nov 2016 16:09:32 +0000 (+0000) Subject: Disable zoom buttons when zoom limit is reached X-Git-Tag: live~4197 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/cbff014368294747154cd0c6dd30242f876d2daf Disable zoom buttons when zoom limit is reached Fixes #1365 --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 4529248c5..2a00f1b06 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -491,7 +491,8 @@ body.compact { background-color: black; } - &.disabled { + &.disabled, + &.leaflet-disabled { background-color: #333; background-color: rgba(0,0,0,.5); cursor: default;