fix(editor): make editor layout full-viewport

This commit is contained in:
clawdbot 2026-01-28 11:41:44 +08:00
parent a10a5eb661
commit c4c50b9e89
2 changed files with 12 additions and 6 deletions

View File

@ -1,8 +1,10 @@
#root {
max-width: 1280px;
margin: 0 auto;
padding: 2rem;
text-align: center;
width: 100vw;
height: 100vh;
max-width: none;
margin: 0;
padding: 0;
text-align: initial;
}
.logo {

View File

@ -24,12 +24,16 @@ a:hover {
body {
margin: 0;
display: flex;
place-items: center;
min-width: 320px;
min-height: 100vh;
}
/* Editor app should occupy the full viewport; Vite template centering breaks layout */
#root {
width: 100vw;
height: 100vh;
}
h1 {
font-size: 3.2em;
line-height: 1.1;