Skip to content

Commit f69c744

Browse files
committed
Fix site-editor-v2 app layout
1 parent d90958c commit f69c744

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

packages/boot/src/experimental-admin-bar-in-editor.scss

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,12 @@ body.has-admin-bar-in-editor {
3434
}
3535

3636
#site-editor-v2-app {
37+
position: fixed;
38+
top: 32px;
39+
left: 0;
40+
right: 0;
41+
bottom: 0;
3742
height: calc(100vh - 32px) !important;
38-
margin-top: 32px;
3943
}
4044

4145
.boot-layout.has-full-canvas .boot-layout__canvas {
@@ -45,8 +49,8 @@ body.has-admin-bar-in-editor {
4549

4650
@media (max-width: 782px) {
4751
#site-editor-v2-app {
52+
top: 46px;
4853
height: calc(100vh - 46px) !important;
49-
margin-top: 46px;
5054
}
5155

5256
.boot-layout__stage,

0 commit comments

Comments
 (0)