From 88fcada55b16580255d6af06c65e368c6c9f035e Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Fri, 30 Aug 2024 14:35:42 -0700 Subject: [PATCH] Update drawer height in Editor component to 16rem and adjust bottom position of apply button --- src/renderer/screens/Editor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/screens/Editor.js b/src/renderer/screens/Editor.js index 9b3545b4a..e2ed4bce2 100644 --- a/src/renderer/screens/Editor.js +++ b/src/renderer/screens/Editor.js @@ -69,7 +69,7 @@ const Editor = (props) => { const [dialogOpen, setDialogOpen] = useState(false); - const drawerHeightInRem = 20; + const drawerHeightInRem = 16; const [maxKeyboardHeight, setMaxKeyboardHeight] = useState("auto"); useEffect(() => { @@ -509,7 +509,7 @@ const Editor = (props) => { onClick={onApply} onError={onApplyError} disabled={saveChangesDisabled} - bottom={`${drawerHeightInRem + 1}rem`} + bottom={`${drawerHeightInRem + 0.1}rem`} />