mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-30 23:40:33 +01:00
Calculate popup height depending on viewport
This commit is contained in:
parent
824616f6bd
commit
b30bbdc248
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue