Fix rotate-north control display on touch devices
This commit is contained in:
@@ -17,6 +17,9 @@
|
|||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
}
|
}
|
||||||
|
.ol-touch .rotate-north {
|
||||||
|
top: 80px;
|
||||||
|
}
|
||||||
.rotate-north a {
|
.rotate-north a {
|
||||||
display: block;
|
display: block;
|
||||||
color: white;
|
color: white;
|
||||||
@@ -31,6 +34,12 @@
|
|||||||
width: 22px;
|
width: 22px;
|
||||||
background: rgba(0,60,136,0.5);
|
background: rgba(0,60,136,0.5);
|
||||||
}
|
}
|
||||||
|
.ol-touch .rotate-north a {
|
||||||
|
font-size: 20px;
|
||||||
|
height: 30px;
|
||||||
|
width: 30px;
|
||||||
|
line-height: 26px;
|
||||||
|
}
|
||||||
.rotate-north a:hover {
|
.rotate-north a:hover {
|
||||||
background: rgba(0,60,136,0.7);
|
background: rgba(0,60,136,0.7);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user