From 50831abec148c4a1e3d94d93bed4450f21329884 Mon Sep 17 00:00:00 2001 From: lajbel Date: Wed, 16 Oct 2024 22:08:13 -0300 Subject: [PATCH] fix: editor sizing --- .../Playground/WorkspaceExample.tsx | 60 +++++++++---------- .../Playground/WorkspaceProject.tsx | 6 +- 2 files changed, 32 insertions(+), 34 deletions(-) diff --git a/src/components/Playground/WorkspaceExample.tsx b/src/components/Playground/WorkspaceExample.tsx index df6fd55..a6a4361 100644 --- a/src/components/Playground/WorkspaceExample.tsx +++ b/src/components/Playground/WorkspaceExample.tsx @@ -15,38 +15,36 @@ type Props = { export const WorkspaceExample: FC = (props) => { return ( - <> -
-
- {props.isPortrait && || } -
+
+
+ {props.isPortrait && || } +
-
- - - - - - - - -
+
+ + + + + + + + +
- {props.isPortrait && ( -
- -
- )} -
- + {props.isPortrait && ( +
+ +
+ )} +
); }; diff --git a/src/components/Playground/WorkspaceProject.tsx b/src/components/Playground/WorkspaceProject.tsx index 232790b..4fa8418 100644 --- a/src/components/Playground/WorkspaceProject.tsx +++ b/src/components/Playground/WorkspaceProject.tsx @@ -17,15 +17,15 @@ export const WorkspaceProject: FC = (props) => { return ( <>
-
+
-
+