Skip to content

Commit

Permalink
fix: set min-width or min-height on split-pane (#517)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xstoudi authored Jul 13, 2023
1 parent 5d9e56a commit 481aa05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/split-pane/SplitPane.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ export function SplitPane(props: SplitPaneProps) {
display: 'flex',
height: '100%',
width: '100%',
[direction === 'horizontal' ? 'minWidth' : 'minHeight']: 0,
flexDirection: direction === 'horizontal' ? 'row' : 'column',
}}
>
Expand Down

0 comments on commit 481aa05

Please sign in to comment.