From c2fc94ab0bb3034a1af48ce1002ca80d6132679c Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Fri, 18 Oct 2024 23:18:26 +0530 Subject: [PATCH] feat: ensure right panel does not stack over browser --- src/pages/RecordingPage.tsx | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/src/pages/RecordingPage.tsx b/src/pages/RecordingPage.tsx index 394abc4e..8a4ae653 100644 --- a/src/pages/RecordingPage.tsx +++ b/src/pages/RecordingPage.tsx @@ -110,23 +110,26 @@ export const RecordingPage = ({ recordingName }: RecordingPageProps) => { } }, [socket, handleLoaded]); + return ( -
+
{isLoaded ? ( - - -
- -
+ <> + + +
+ +
+
+ +
+ +
+
- -
- -
-
-
+ ) : ( )} @@ -136,6 +139,7 @@ export const RecordingPage = ({ recordingName }: RecordingPageProps) => { ); }; + const RecordingPageWrapper = styled.div` position: relative; width: 100vw;