We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 366a635 commit 9655a45Copy full SHA for 9655a45
src/style/mo.scss
@@ -60,3 +60,7 @@
60
.center {
61
text-align: center;
62
}
63
+
64
+.hidden {
65
+ display: none;
66
+}
src/workbench/workbench.tsx
@@ -85,15 +85,14 @@ export function WorkbenchView(props: IWorkbench & ILayout & ILayoutController) {
85
allowResize={true}
86
onChange={onPaneSizeChange as any}
87
>
88
- {!sidebar.hidden && (
89
- <Pane
90
- minSize="170px"
91
- initialSize={splitPanePos[0]}
92
- maxSize="80%"
93
- >
94
- <SidebarView />
95
- </Pane>
96
- )}
+ <Pane
+ minSize="170px"
+ initialSize={splitPanePos[0]}
+ maxSize="80%"
+ className={sidebar.hidden && 'hidden'}
+ >
+ <SidebarView />
+ </Pane>
97
<SplitPane
98
primary="first"
99
split="horizontal"
0 commit comments