Skip to content

Commit 2f9da66

Browse files
committed
fixed the layout resizing issue for panel
Signed-off-by: nitro56565 <[email protected]>
1 parent 3511542 commit 2f9da66

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/pages/MainContainer.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ const MainContainer = () => {
3131

3232
return (
3333
<div className="main-container" style={{ backgroundColor }}>
34-
<PanelGroup direction="horizontal" className="main-container-panel-group">
34+
<PanelGroup direction="horizontal" className="main-container-panel-group"
35+
style={{position: "fixed", width: "calc(100% - 64px)", height: "calc(100% - 64px)"}}>
3536
{isEditorsVisible && (
3637
<>
3738
<Panel defaultSize={50} minSize={30}>

0 commit comments

Comments
 (0)