style: center content in app layout and adjust root dimensions for better responsiveness

This commit is contained in:
iHeyTang 2025-09-29 17:50:26 +08:00
parent 0f18f04fb9
commit 56251ac3ce
1 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,9 @@
}
html, body {
display: flex;
justify-content: center;
align-items: center;
margin: 0;
padding: 0;
height: 100%;
@ -16,6 +19,8 @@ html, body {
#root {
height: 100%;
max-width: 600px;
width: 100vw;
}
.app {