mirror of
https://github.com/picocss/pico.git
synced 2025-04-20 16:46:14 -04:00
fix(modal): prevent scrolling and interactions below a modal on mobile
This commit is contained in:
parent
3052db4bd3
commit
6999d4246a
9 changed files with 9 additions and 7 deletions
|
@ -1987,6 +1987,7 @@ dialog:not([open]), dialog[open=false] {
|
|||
padding-right: var(--scrollbar-width, 0px);
|
||||
overflow: hidden;
|
||||
pointer-events: none;
|
||||
touch-action: none;
|
||||
}
|
||||
.modal-is-open dialog {
|
||||
pointer-events: auto;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue