From 26bd10b7ab67194784b21274cbcbf301aee573e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=C3=A1=C5=A1=20Nobile?= Date: Thu, 18 Aug 2022 12:47:42 +0200 Subject: [PATCH] Fix: Scrollable dialog Scroll inside dialog when content is longer than viewport. --- packages/ui/src/components/Dialog/Dialog.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/ui/src/components/Dialog/Dialog.css b/packages/ui/src/components/Dialog/Dialog.css index c528c8fc03..9f1d898090 100644 --- a/packages/ui/src/components/Dialog/Dialog.css +++ b/packages/ui/src/components/Dialog/Dialog.css @@ -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 {