nakarte

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

commit 62515f816f72cce428380077957b57e566429178
parent 246ac871f0796118d91108c5a11637a223026fa3
Author: Sergey Orlov <wladimirych@gmail.com>
Date:   Sat, 11 Apr 2020 11:43:06 +0200

leaflet-fixes: limit width of label in Layers control. #362

Diffstat:
Msrc/leaflet-fixes.css | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/leaflet-fixes.css b/src/leaflet-fixes.css @@ -12,3 +12,11 @@ box-shadow: 0 1px 5px rgba(0,0,0,0.65) !important; } +.leaflet-control-layers label input + span { + display: inline-block; + max-width: 250px; + overflow-x: hidden; + text-overflow: ellipsis; + vertical-align: bottom; +} +