mirror of
https://github.com/picocss/pico.git
synced 2025-04-26 11:16:15 -04:00
Fix: dialog max-height
This commit is contained in:
parent
6837e3071c
commit
18224bdc07
13 changed files with 24 additions and 9 deletions
|
@ -1862,6 +1862,10 @@ dialog {
|
|||
border: none;
|
||||
background-color: var(--modal-overlay-background-color);
|
||||
}
|
||||
dialog article {
|
||||
max-height: calc(100vh - var(--spacing) * 2);
|
||||
overflow: auto;
|
||||
}
|
||||
@media (min-width: 576px) {
|
||||
dialog article {
|
||||
max-width: 510px;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue