Skip to content

Commit

Permalink
Update Layout.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
cdedreuille committed Oct 9, 2023
1 parent 7938688 commit 1682f32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/ui/manager/src/components/layout/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ const LayoutContainer = styled.div<LayoutState>(
({ navSize, rightPanelWidth, bottomPanelHeight, viewMode, panelPosition }) => {
return {
width: '100%',
height: ['100vh', '100dvh'],
height: ['100vh', '100dvh'], // This array is a special Emotion syntax to set a fallback if 100dvh is not supported
overflow: 'hidden',
display: 'flex',
flexDirection: 'column',
Expand Down

0 comments on commit 1682f32

Please sign in to comment.