mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-03 12:41:45 +02:00
fix: do not show scroll unless needed
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user