mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-28 16:11:15 +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 {
|
||||
max-height: 500px;
|
||||
max-height: calc(100vh - 40px - 40px); /* toolbar height: 40px, padding: 40px */
|
||||
overflow-y: auto;
|
||||
.maputnik-input-block {
|
||||
margin: 0;
|
||||
|
|
Loading…
Reference in a new issue