Skip to content

Commit

Permalink
🐛 fix: fix quicksetting sidebar default width
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 committed Jul 6, 2023
1 parent e3e9488 commit 43bc9bf
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 40 deletions.
79 changes: 40 additions & 39 deletions javascript/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/pages/QuickSettingSidebar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const QuickSettingSidebar = memo<QuickSettingSidebarProps>(({ headerHeight }) =>
<DraggablePanel
defaultSize={{ width: setting.sidebarWidth }}
expand={expand}
minWidth={setting.extraNetworkSidebarWidth}
minWidth={setting.sidebarWidth}
mode={mode}
onExpandChange={setExpand}
onSizeChange={(_, size) => size?.width && setWidth(Number.parseInt(String(size.width)))}
Expand Down

0 comments on commit 43bc9bf

Please sign in to comment.