Skip to content

Commit 2cb221d

Browse files
author
Ives van Hoorne
committed
Only make editor fullscreen
1 parent 1346069 commit 2cb221d

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

packages/app/src/app/pages/Sandbox/Editor/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default class ContentSplit extends React.PureComponent<Props, State> {
3737
split="vertical"
3838
defaultSize={18 * 16}
3939
minSize={14 * 16}
40-
style={{ top: 0 }}
40+
style={{ position: 'fixed', top: 0, bottom: 0, left: 0, right: 0 }}
4141
onDragStarted={this.startResizing}
4242
onDragFinished={this.stopResizing}
4343
resizerStyle={{ visibility: workspaceHidden ? 'hidden' : 'visible' }}

packages/common/global.css

+1-5
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,7 @@ input {
3030
}
3131

3232
#root {
33-
position: fixed;
34-
top: 0;
35-
left: 0;
36-
right: 0;
37-
bottom: 0;
33+
height: 100%;
3834
}
3935

4036
a {

0 commit comments

Comments
 (0)