Account for the thumb size when handling clicks

This commit is contained in:
Tim Schaub
2014-10-13 10:13:50 -06:00
parent 9dd5b611c7
commit c1afd513b7
3 changed files with 30 additions and 18 deletions

View File

@@ -259,7 +259,7 @@ button.ol-full-screen-true:after {
left: .5em;
background: #eee;
background: rgba(255, 255, 255, 0.4);
width: 1.7em;
width: 24px;
height: 200px;
}
.ol-zoomslider-thumb {
@@ -268,10 +268,11 @@ button.ol-full-screen-true:after {
background: rgba(0,60,136,0.5);
border-radius: 2px;
cursor: pointer;
height: 1.1em;
width: 1.6em;
height: 10px;
width: 22px;
margin: 3px;
}
.ol-touch .ol-zoomslider {
top: 5.5em;
width: 2.052em;