diff --git a/src/app/App.tsx b/src/app/App.tsx index c48d7c37..96b4d2c5 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -149,25 +149,25 @@ const App: React.VoidFunctionComponent = ({ onEditorChanged }) => { return (
- setIsDragging(true)} - onDragEnd={(): void => setIsDragging(false)} - percentage={true} - secondaryInitialSize={Number( - localStorage.getItem('app-docs-split') || 30, - )} - onSecondaryPaneSizeChange={(value): void => - localStorage.setItem('app-docs-split', String(value)) - } +
-
-
- -
-
+ + {/* need a container for SplitterLayout since it uses position: absolute */} +
+ setIsDragging(true)} + onDragEnd={(): void => setIsDragging(false)} + percentage={true} + secondaryInitialSize={Number( + localStorage.getItem('app-docs-split') || 30, + )} + onSecondaryPaneSizeChange={(value): void => + localStorage.setItem('app-docs-split', String(value)) + } + > = ({ onEditorChanged }) => {
-
+
+ {isDragging &&
} + +
+
-
- {isDragging &&
} - -
- +
);