remove dependence on container div

This commit is contained in:
mike-000
2020-07-12 12:28:41 +01:00
committed by GitHub
parent 896352bd8b
commit 2bc3f2ed73

View File

@@ -1,36 +1,33 @@
.mapcontainer {
position: relative;
}
div.ol-custom-overviewmap, .map .ol-custom-overviewmap,
div.ol-custom-overviewmap.ol-uncollapsible { .map .ol-custom-overviewmap.ol-uncollapsible {
bottom: auto; bottom: auto;
left: auto; left: auto;
right: 0; right: 0;
top: 0; top: 0;
} }
div.ol-custom-overviewmap:not(.ol-collapsed) { .map .ol-custom-overviewmap:not(.ol-collapsed) {
border: 1px solid black; border: 1px solid black;
} }
div.ol-custom-overviewmap div.ol-overviewmap-map { .map .ol-custom-overviewmap .map .ol-overviewmap-map {
border: none; border: none;
width: 300px; width: 300px;
} }
div.ol-custom-overviewmap div.ol-overviewmap-box { .map .ol-custom-overviewmap .map .ol-overviewmap-box {
border: 2px solid red; border: 2px solid red;
} }
div.ol-custom-overviewmap:not(.ol-collapsed) button{ .map .ol-custom-overviewmap:not(.ol-collapsed) button{
bottom: auto; bottom: auto;
left: auto; left: auto;
right: 1px; right: 1px;
top: 1px; top: 1px;
} }
div.ol-rotate { .map .ol-rotate {
top: 170px; top: 170px;
right: 0; right: 0;
} }