nakarte

Source code of https://map.sikmir.ru (fork)
git clone git://git.sikmir.ru/nakarte
Log | Files | Refs | LICENSE

commit 311fff01b81d5d127b696dfd731962a38a838f2d
parent d8934e45f62516171752bfadbbf21044d1d2c210
Author: Sergej Orlov <wladimirych@gmail.com>
Date:   Tue, 29 Nov 2016 11:58:42 +0300

[leaflet layers control] css file for adaptive height

Diffstat:
Msrc/adaptive.css | 1-
Msrc/lib/leaflet.control.layers.adaptive-height/adaptive-height.js | 1+
Asrc/lib/leaflet.control.layers.adaptive-height/style.css | 4++++
3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/adaptive.css b/src/adaptive.css @@ -26,7 +26,6 @@ } } -.leaflet-control-layers-expanded, .leaflet-control-tracklist { overflow-y: auto; overflow-x: hidden; diff --git a/src/lib/leaflet.control.layers.adaptive-height/adaptive-height.js b/src/lib/leaflet.control.layers.adaptive-height/adaptive-height.js @@ -1,4 +1,5 @@ import L from 'leaflet'; +import './style.css'; function enableAdaptiveHeight(control) { if (control._adaptiveHeightEnabled) { diff --git a/src/lib/leaflet.control.layers.adaptive-height/style.css b/src/lib/leaflet.control.layers.adaptive-height/style.css @@ -0,0 +1,4 @@ +.leaflet-control-layers-list { + overflow-y: auto; + overflow-x: hidden; +}