Skip to content

Commit

Permalink
adjust max width of left panel
Browse files Browse the repository at this point in the history
  • Loading branch information
magland committed Jun 26, 2024
1 parent c5ee33e commit dac2c78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/src/app/pages/HomePage/HomePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ const HomePageChild: FunctionComponent<Props> = ({ width, height }) => {
// the width of the left panel when it is expanded based on the overall width
const determineLeftPanelWidth = (width: number) => {
const minWidth = 250
const maxWidth = 500
const maxWidth = 400
return Math.min(maxWidth, Math.max(minWidth, width / 4))
}

Expand Down

0 comments on commit dac2c78

Please sign in to comment.