Skip to content

Commit

Permalink
Fix: Scrollable dialog
Browse files Browse the repository at this point in the history
Scroll inside dialog when content is longer than viewport.
  • Loading branch information
jonasnobile committed Dec 11, 2023
1 parent 64bd535 commit 26bd10b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/ui/src/components/Dialog/Dialog.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@
margin: 1em;
opacity: 0;
animation: cui-dialogIntroIn 0.2s 0.1s forwards;
max-height: 100%;
overflow-y: auto;
}

:where(.cui-dialog.view-immersive)::before {
Expand Down

0 comments on commit 26bd10b

Please sign in to comment.