Skip to content

Commit 2462081

Browse files
author
Ives van Hoorne
committed
Fix sandbox not loading from profile (codesandbox#532)
1 parent 55f78eb commit 2462081

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

packages/app/src/app/components/Skeleton/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { Header } from './elements';
99

1010
function Skeleton({ titles }) {
1111
return (
12-
<Fullscreen>
12+
<Fullscreen style={{ height: '100vh' }}>
1313
<Header />
1414
<Centered horizontal vertical>
1515
<Title delay={titles[0].delay}>{titles[0].content}</Title>

packages/app/src/app/store/sequences.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ export const loadSandbox = factories.withLoadApp([
283283
notFound: set(state`editor.notFound`, true),
284284
error: set(state`editor.error`, props`error.message`),
285285
},
286-
set(state`editor.isLoading`, false),
287286
],
288287
},
288+
set(state`editor.isLoading`, false),
289289
]);

packages/app/src/embed/components/Content/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,11 @@ export default class Content extends React.PureComponent<Props, State> {
346346
})}
347347
</Tabs>
348348
<div
349-
style={{ position: 'relative', width: '100%', height: '100%' }}
349+
style={{
350+
position: 'relative',
351+
width: '100%',
352+
height: '100%',
353+
}}
350354
>
351355
<CodeEditor
352356
onInitialized={this.onCodeEditorInitialized}

0 commit comments

Comments
 (0)