From aaa8b530df6956284cc295fe9f01eb8d6738d222 Mon Sep 17 00:00:00 2001 From: Leon Talbert Date: Mon, 3 Oct 2022 17:02:38 +0800 Subject: [PATCH] max height on dialog --- components/src/components/organisms/Dialog/Dialog.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/src/components/organisms/Dialog/Dialog.tsx b/components/src/components/organisms/Dialog/Dialog.tsx index 2d4d2ded..11cf16fc 100644 --- a/components/src/components/organisms/Dialog/Dialog.tsx +++ b/components/src/components/organisms/Dialog/Dialog.tsx @@ -32,6 +32,8 @@ const StyledCard = styled.div( background-color: ${theme.colors.background}; position: relative; width: 100%; + max-height: 90vh; + overflow-y: auto; ${mq.sm.min(css` width: initial; `)}