From bb292d65ef6410650777bec273a0a41df1a51149 Mon Sep 17 00:00:00 2001 From: thecodrr Date: Mon, 23 Nov 2020 11:59:53 +0500 Subject: [PATCH] fix: do not show scroll unless needed --- apps/web/src/components/dialogs/dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/components/dialogs/dialog.js b/apps/web/src/components/dialogs/dialog.js index 922d0282b..12ba5465a 100644 --- a/apps/web/src/components/dialogs/dialog.js +++ b/apps/web/src/components/dialogs/dialog.js @@ -57,7 +57,7 @@ function Dialog(props) { bg="background" alignSelf={"center"} m={[0, 2, 2]} - overflowY={props.scrollable ? "scroll" : "hidden"} + overflowY={props.scrollable ? "auto" : "hidden"} sx={{ position: "relative", overflow: "hidden",