From ec3ca3b8c752e40ccd91e4201dad7ab3d4bdba4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=A6=82=E5=A8=81?= Date: Tue, 30 Sep 2025 16:08:02 +0800 Subject: [PATCH] build --- frontend/src/App.css | 1 + frontend/src/index.css | 2 ++ frontend/src/pages/Layout.css | 1 + frontend/src/pages/Layout.jsx | 1 + 4 files changed, 5 insertions(+) diff --git a/frontend/src/App.css b/frontend/src/App.css index 4a58288..fe8c522 100644 --- a/frontend/src/App.css +++ b/frontend/src/App.css @@ -7,6 +7,7 @@ body, font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; + overflow: hidden; } div.no-select { diff --git a/frontend/src/index.css b/frontend/src/index.css index 793243b..c958de6 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -11,6 +11,8 @@ text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; + overflow-x: hidden; + overflow-y: auto; } diff --git a/frontend/src/pages/Layout.css b/frontend/src/pages/Layout.css index d4099eb..f22debe 100644 --- a/frontend/src/pages/Layout.css +++ b/frontend/src/pages/Layout.css @@ -22,4 +22,5 @@ .page-content { background-color: #f2f3f5; + } diff --git a/frontend/src/pages/Layout.jsx b/frontend/src/pages/Layout.jsx index b5de4a5..a6f25bb 100644 --- a/frontend/src/pages/Layout.jsx +++ b/frontend/src/pages/Layout.jsx @@ -56,6 +56,7 @@ export default function LayoutPage() { style={{ margin: "24px 16px", minHeight: 280, + boxSizing: 'border-box' }} > {/* 渲染子路由 */}