From 56251ac3ceb7143656523cf84adad44bedf27b56 Mon Sep 17 00:00:00 2001 From: iHeyTang Date: Mon, 29 Sep 2025 17:50:26 +0800 Subject: [PATCH] style: center content in app layout and adjust root dimensions for better responsiveness --- src/app.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/app.css b/src/app.css index c9577bc..83767ef 100644 --- a/src/app.css +++ b/src/app.css @@ -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 {