Skip to content

Commit 8f1cf2d

Browse files
Fixes 3449, Min width based on visibility (codesandbox#3453)
Co-authored-by: Sara Vieira <[email protected]>
1 parent 96f1b19 commit 8f1cf2d

File tree

1 file changed

+1
-1
lines changed
  • packages/app/src/app/pages/Sandbox/Editor

1 file changed

+1
-1
lines changed

packages/app/src/app/pages/Sandbox/Editor/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ const ContentSplit: React.FC = () => {
111111
}
112112
}}
113113
pane1Style={{
114-
minWidth: 190,
114+
minWidth: state.workspace.workspaceHidden ? 0 : 190,
115115
visibility: state.workspace.workspaceHidden
116116
? 'hidden'
117117
: 'visible',

0 commit comments

Comments
 (0)