From d8cad49d847ed3803cb7b7a118a2b8d81126e91a Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Tue, 24 Jun 2014 15:06:14 +0100 Subject: [PATCH] add a max-height and overflow to layer chooser - so it doesn't drop off the bottom of the screen when overloaded by many plugins --- style.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/style.css b/style.css index f3a0aaf8..3713c7b3 100644 --- a/style.css +++ b/style.css @@ -102,9 +102,12 @@ a:hover { } + /* base layer selection - first column */ .leaflet-control-layers-base { float: left; + overflow-y: auto; + max-height: 600px; } /* overlays layer selection - 2nd column */ @@ -113,6 +116,8 @@ a:hover { margin-left: 8px; border-left: 1px solid #DDDDDD; padding-left: 8px; + overflow-y: auto; + max-height: 600px; } /* hide the usual separator */