Skip to content

Commit

Permalink
windows arrange fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
chronis10 committed Jun 3, 2024
1 parent 8be6706 commit 71f3aa8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions front-end/src/routes/Router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ const Router = [
path: '/interactive-page',
element: (
<PrivateRoute>
<RoleBasedRoute betaTesterOnly={true}>
{/* <RoleBasedRoute betaTesterOnly={true}> */}
<FullLayout />
</RoleBasedRoute>
{/* </RoleBasedRoute> */}
</PrivateRoute>
),
children: [
Expand All @@ -144,9 +144,9 @@ const Router = [
path: '/tutorials-page',
element: (
<PrivateRoute>
<RoleBasedRoute betaTesterOnly={true}>
{/* <RoleBasedRoute betaTesterOnly={true}> */}
<FullLayout />
</RoleBasedRoute>
{/* </RoleBasedRoute> */}
</PrivateRoute>
),
children: [
Expand Down
8 changes: 4 additions & 4 deletions front-end/src/views/blockly-page/BlocklyPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ const BlocklyPage = () => {
{loading && isSimulatorLoading ? (
<Spinner />
) : (
<Grid container spacing={1} paddingTop={"0rem"} paddingBottom={"0rem"} height={showVideoPlayer && !isInPIP ? 'calc(150vh - 300px)' : 'calc(100vh - 300px)'}>
<Grid item xs={7} lg={7} height={showVideoPlayer && !isInPIP ? 'calc(150vh - 300px)' : 'calc(100vh - 300px)'}>
<Grid container spacing={1} paddingTop={"0rem"} paddingBottom={"0rem"} height={showVideoPlayer && !isInPIP ? 'calc(150vh - 300px)' : 'calc(120vh - 300px)'}>
<Grid item xs={7} lg={7} height={showVideoPlayer && !isInPIP ? 'calc(150vh - 300px)' : 'calc(120vh - 300px)'}>
{/* column */}
<BlocklyEditorComponent
code={editorValue}
Expand Down Expand Up @@ -289,7 +289,7 @@ const BlocklyPage = () => {
</Box>
)}

<Box height="39vh">
<Box height="50vh">
<WebGLApp appsessionId={sessionId}
onMountChange={handleMountChange} />
</Box>
Expand All @@ -298,7 +298,7 @@ const BlocklyPage = () => {
{/* Terminal */}

<Box
height={'27vh'}
height={'35vh'}
style={{
backgroundColor: 'black',
color: 'white',
Expand Down
8 changes: 4 additions & 4 deletions front-end/src/views/monaco-page/MonacoPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,8 @@ const MonacoPage: React.FC = () => {
{loading && isSimulatorLoading ? (
<Spinner />
) : (
<Grid container spacing={1} paddingTop="0rem" paddingBottom="0rem" height={showVideoPlayer && !isInPIP ? 'calc(150vh - 300px)' : 'calc(100vh - 300px)'} >
<Grid item xs={7} lg={7} height={showVideoPlayer && !isInPIP ? 'calc(150vh - 300px)' : 'calc(100vh - 300px)'} >
<Grid container spacing={1} paddingTop="0rem" paddingBottom="0rem" height={showVideoPlayer && !isInPIP ? 'calc(150vh - 300px)' : 'calc(120vh - 300px)'} >
<Grid item xs={7} lg={7} height={showVideoPlayer && !isInPIP ? 'calc(150vh - 300px)' : 'calc(120vh - 300px)'} >
<MonacoEditorComponent code={editorValue} handleGetValue={handleGetValue} />
</Grid>
<Grid item xs={5} lg={5} >
Expand Down Expand Up @@ -327,15 +327,15 @@ const MonacoPage: React.FC = () => {
</Box>
)}

<Box height="39vh">
<Box height="50vh">
<WebGLApp
appsessionId={sessionId}
onMountChange={handleMountChange}
/>
</Box>

<Box
height="27vh"
height="35vh"
style={{
backgroundColor: 'black',
color: 'white',
Expand Down

0 comments on commit 71f3aa8

Please sign in to comment.