Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
fix(ui): increase max drawer width to 50% of the screen
Browse files Browse the repository at this point in the history
  • Loading branch information
s-r-x committed Jun 13, 2021
1 parent 181aa8d commit 0bbe7b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/ui/src/components/Drawer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const useStyles = makeStyles((theme) => ({
cursor: 'ew-resize',
position: 'absolute',
top: 0,
right: -2,
right: -4,
bottom: 0,
zIndex: 1201,
},
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/config/layouts.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const LayoutConfig = {
drawerWidth: 260,
maxDrawerWidth: 520,
maxDrawerWidth: window.innerWidth / 2,
modalWidth: 500,
};

0 comments on commit 0bbe7b7

Please # to comment.