Calculate popup height depending on viewport

This commit is contained in:
pathmapper 2019-08-10 10:37:39 +02:00
parent 824616f6bd
commit b30bbdc248

View file

@ -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;