Skip to content

Commit 43f94f8

Browse files
fix fullscreen styling
1 parent 15a371d commit 43f94f8

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

editor/scaffolds/canvas/isolate-mode.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ export function IsolateModeCanvas({ onClose }: { onClose: () => void }) {
8585
setFullscreen(false);
8686
}}
8787
/>
88-
;
8988
</Dialog>
89+
9090
<IsolatedCanvas
9191
key={target?.id}
9292
onExit={onClose}

editor/scaffolds/preview-full-screen/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@ const RootWrapperFullScreenRunnerViewLayout = styled.div`
157157
flex-direction: column;
158158
align-items: center;
159159
flex: none;
160-
min-height: 100vh;
160+
height: 100vh;
161+
overflow: hidden;
161162
box-sizing: border-box;
162163
`;
163164

0 commit comments

Comments
 (0)