Skip to content

Commit 9818824

Browse files
committed
fix: panels normalization warning
Signed-off-by: Akshat Batra <[email protected]>
1 parent 6cc1359 commit 9818824

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/pages/MainContainer.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ const MainContainer = () => {
3333
style={{position: "fixed", width: "calc(100% - 64px)", height: "calc(100% - 64px)"}}>
3434
{isEditorsVisible && (
3535
<>
36-
<Panel defaultSize={50} minSize={30}>
36+
<Panel defaultSize={62.5} minSize={30}>
3737
<div className="main-container-editors-panel" style={{ backgroundColor }}>
3838
<PanelGroup direction="vertical" className="main-container-editors-panel-group">
39-
<Panel defaultSize={30} minSize={20}>
39+
<Panel minSize={20}>
4040
<div className="main-container-editor-section tour-concerto-model">
4141
<div className={`main-container-editor-header ${backgroundColor === '#ffffff' ? 'main-container-editor-header-light' : 'main-container-editor-header-dark'}`}>
4242
{/* Left side */}
@@ -52,7 +52,7 @@ const MainContainer = () => {
5252
</Panel>
5353
<PanelResizeHandle className="main-container-panel-resize-handle-vertical" />
5454

55-
<Panel defaultSize={30} minSize={20}>
55+
<Panel minSize={20}>
5656
<div className="main-container-editor-section tour-template-mark">
5757
<div className={`main-container-editor-header ${backgroundColor === '#ffffff' ? 'main-container-editor-header-light' : 'main-container-editor-header-dark'}`}>
5858
TemplateMark
@@ -65,7 +65,7 @@ const MainContainer = () => {
6565

6666
<PanelResizeHandle className="main-container-panel-resize-handle-vertical" />
6767

68-
<Panel defaultSize={30} minSize={20}>
68+
<Panel minSize={20}>
6969
<div className="main-container-editor-section tour-json-data">
7070
<div className={`main-container-editor-header ${backgroundColor === '#ffffff' ? 'main-container-editor-header-light' : 'main-container-editor-header-dark'}`}>
7171
JSON Data
@@ -91,7 +91,7 @@ const MainContainer = () => {
9191
)}
9292
{isPreviewVisible && (
9393
<>
94-
<Panel defaultSize={30} minSize={20}>
94+
<Panel defaultSize={37.5} minSize={20}>
9595
<div className="main-container-preview-panel tour-preview-panel" style={{ backgroundColor }}>
9696
<div className={`main-container-preview-header ${backgroundColor === '#ffffff' ? 'main-container-preview-header-light' : 'main-container-preview-header-dark'}`}>
9797
<span>Preview</span>

0 commit comments

Comments
 (0)