add panel resizing to views

This commit is contained in:
Joni Juup
2022-02-01 16:44:51 +02:00
parent 5850551906
commit 9a09da88ec
8 changed files with 318 additions and 122 deletions

View File

@@ -25,7 +25,8 @@ const Home: NextPage = () => {
<Split
direction="vertical"
sizes={[70, 30]}
style={{ height: "calc(90vh - 60px)" }}
minSize={[100, 100]}
style={{ height: "calc(100vh - 60px)" }}
>
<main style={{ display: "flex", flex: 1, position: "relative" }}>
<HooksEditor />