mirror of
https://github.com/maputnik/editor.git
synced 2026-06-09 08:47:26 +00:00
Calculate popup height depending on viewport
This commit is contained in:
@@ -28,7 +28,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.maputnik-feature-property-popup {
|
.maputnik-feature-property-popup {
|
||||||
max-height: 500px;
|
max-height: calc(100vh - 40px - 40px); /* toolbar height: 40px, padding: 40px */
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
.maputnik-input-block {
|
.maputnik-input-block {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user