Skip to content

Commit ac271c7

Browse files
brummCompuIves
authored andcommitted
Workspace pane was missing a minSize (codesandbox#240)
* The Workspace pane was missing a minSize ...which allowed the view to get squished past a legible width. Set to same as defaultSize for now. * go for smaller minSize
1 parent d4fc19f commit ac271c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/pages/Sandbox/Editor/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export default class ContentSplit extends React.PureComponent<Props, State> {
3939
<SplitPane
4040
split="vertical"
4141
defaultSize={16 * 16}
42+
minSize={14 * 16}
4243
style={{ top: 0 }}
4344
onDragStarted={this.startResizing}
4445
onDragFinished={this.stopResizing}

0 commit comments

Comments
 (0)