We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6ecc9b commit a753501Copy full SHA for a753501
src/App.tsx
@@ -73,7 +73,7 @@ const FULL_HEIGHT = '100%';
73
const CODE_PANEL_DEFAULT_SIZE = '25%';
74
75
/** Minimum size for code panel. */
76
-const CODE_PANEL_MIN_SIZE = 40;
+const CODE_PANEL_MIN_SIZE = 80;
77
78
/** Background color for testing layout. */
79
const LAYOUT_BACKGROUND_COLOR = '#0F0';
@@ -399,8 +399,8 @@ const App: React.FC = (): React.JSX.Element => {
399
collapsible
400
reverseArrow={true}
401
collapsed={rightCollapsed}
402
- collapsedWidth={80}
403
- width={'25%'}
+ collapsedWidth={CODE_PANEL_MIN_SIZE}
+ width={CODE_PANEL_DEFAULT_SIZE}
404
onCollapse={(collapsed: boolean) => setRightCollapsed(collapsed)}
405
>
406
<CodeDisplay
0 commit comments