nakarte

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

commit ce998a1a7a0844fe9f552c03da34ee2f901e1489
parent 1619271a51c563eb9d953e5dfa747b12cc7ecd4c
Author: Sergey Orlov <wladimirych@gmail.com>
Date:   Thu,  7 Jan 2021 18:25:42 +0100

add a workaround for Chrome bug causing improper scrollbar drawing

Solution taken from SO article:
https://stackoverflow.com/questions/16874546/strange-z-index-behavior-with-scrollbars-under-chrome

Diffstat:
Msrc/lib/leaflet.controls.raise-on-focus/style.css | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/lib/leaflet.controls.raise-on-focus/style.css b/src/lib/leaflet.controls.raise-on-focus/style.css @@ -1,3 +1,6 @@ .leaflet-controls-corner-raised { z-index: 2000 !important; + /* workaround for Chrome bug displaying scrollbar above all other objects */ + /* https://stackoverflow.com/questions/16874546/strange-z-index-behavior-with-scrollbars-under-chrome */ + transform: translate3d(0,0,0); }