This commit is contained in:
李如威 2025-09-30 16:08:02 +08:00
parent 6a1219dd69
commit ec3ca3b8c7
4 changed files with 5 additions and 0 deletions

View File

@ -7,6 +7,7 @@ body,
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 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 Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
'Noto Color Emoji'; 'Noto Color Emoji';
overflow: hidden;
} }
div.no-select { div.no-select {

View File

@ -11,6 +11,8 @@
text-rendering: optimizeLegibility; text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
overflow-x: hidden;
overflow-y: auto;
} }

View File

@ -22,4 +22,5 @@
.page-content { .page-content {
background-color: #f2f3f5; background-color: #f2f3f5;
} }

View File

@ -56,6 +56,7 @@ export default function LayoutPage() {
style={{ style={{
margin: "24px 16px", margin: "24px 16px",
minHeight: 280, minHeight: 280,
boxSizing: 'border-box'
}} }}
> >
<Outlet /> {/* 渲染子路由 */} <Outlet /> {/* 渲染子路由 */}