Fix layout of overview map
The button should not change its position when the collapsed state changes. The overview map had a somewhat larger padding at the bottom due to being an inline-block element and the configured line-height of 1.5.
This commit is contained in:
@@ -245,7 +245,7 @@
|
||||
}
|
||||
.ol-overviewmap .ol-overviewmap-map,
|
||||
.ol-overviewmap button {
|
||||
display: inline-block;
|
||||
display: block;
|
||||
}
|
||||
.ol-overviewmap .ol-overviewmap-map {
|
||||
border: 1px solid #7b98bc;
|
||||
@@ -253,8 +253,8 @@
|
||||
margin: 2px;
|
||||
width: 150px;
|
||||
}
|
||||
.ol-overviewmap:not(.ol-collapsed) button{
|
||||
bottom: 1px;
|
||||
.ol-overviewmap:not(.ol-collapsed) button {
|
||||
bottom: 2px;
|
||||
left: 2px;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user