mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-11-10 09:17:46 +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