Skip to content

Commit

Permalink
Update drawer height in Editor component to 16rem and adjust bottom p…
Browse files Browse the repository at this point in the history
…osition of apply button
  • Loading branch information
obra committed Aug 30, 2024
1 parent 6c413e6 commit 88fcada
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/screens/Editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const Editor = (props) => {

const [dialogOpen, setDialogOpen] = useState(false);

const drawerHeightInRem = 20;
const drawerHeightInRem = 16;
const [maxKeyboardHeight, setMaxKeyboardHeight] = useState("auto");

useEffect(() => {
Expand Down Expand Up @@ -509,7 +509,7 @@ const Editor = (props) => {
onClick={onApply}
onError={onApplyError}
disabled={saveChangesDisabled}
bottom={`${drawerHeightInRem + 1}rem`}
bottom={`${drawerHeightInRem + 0.1}rem`}
/>

<Drawer
Expand Down

0 comments on commit 88fcada

Please sign in to comment.