Skip to content

Commit

Permalink
fix: sets a limit for editor minSize in editor split view (#6492)
Browse files Browse the repository at this point in the history
  • Loading branch information
axdra committed Apr 25, 2023
1 parent 18e5839 commit 48719f6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ class EditorInterface extends Component {
<ReactSplitPaneGlobalStyles />
<StyledSplitPane
maxSize={-100}
minSize={400}
defaultSize={parseInt(localStorage.getItem(SPLIT_PANE_POSITION), 10) || '50%'}
onChange={size => localStorage.setItem(SPLIT_PANE_POSITION, size)}
onDragStarted={this.handleSplitPaneDragStart}
Expand Down

0 comments on commit 48719f6

Please sign in to comment.