fix(editor): make editor layout full-viewport
This commit is contained in:
parent
a10a5eb661
commit
c4c50b9e89
@ -1,8 +1,10 @@
|
|||||||
#root {
|
#root {
|
||||||
max-width: 1280px;
|
width: 100vw;
|
||||||
margin: 0 auto;
|
height: 100vh;
|
||||||
padding: 2rem;
|
max-width: none;
|
||||||
text-align: center;
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
text-align: initial;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
|
|||||||
@ -24,12 +24,16 @@ a:hover {
|
|||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
display: flex;
|
|
||||||
place-items: center;
|
|
||||||
min-width: 320px;
|
min-width: 320px;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Editor app should occupy the full viewport; Vite template centering breaks layout */
|
||||||
|
#root {
|
||||||
|
width: 100vw;
|
||||||
|
height: 100vh;
|
||||||
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 3.2em;
|
font-size: 3.2em;
|
||||||
line-height: 1.1;
|
line-height: 1.1;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user