Skip to content

Commit

Permalink
fix: layout shift with opened dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
czabaj committed Aug 26, 2024
1 parent ab62ac6 commit 1740153
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/styles/elements.css
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ textarea {
border: var(--border-size-1) solid var(--surface-1);
}

body:has(dialog[open]) {
html:has(dialog[open]) {
overflow: hidden;
scrollbar-gutter: stable
}

0 comments on commit 1740153

Please sign in to comment.