This commit is contained in:
2026-08-11 09:24:16 +08:00
parent 5bcc7888c2
commit f38f9b09ab
3 changed files with 11 additions and 7 deletions
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -27,7 +27,7 @@
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap" rel="stylesheet" />
<title>民众智创</title>
<script type="module" crossorigin src="/assets/index-D088jE8K.js"></script>
<script type="module" crossorigin src="/assets/index-C_heyhPf.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-DtYH0-uL.css">
</head>
<body>
@@ -917,13 +917,16 @@ const AppLayout: React.FC = () => {
return (
<Layout style={{
minHeight: '100vh',
height: '100vh',
display: 'flex',
flexDirection: 'column',
overflow: 'hidden',
}}>
<ActivityBanner onVisibilityChange={(v) => setBannerVisible(v)} />
<div style={{ display: 'flex', position: 'relative', padding: 4, gap: 12, minHeight: 'calc(100vh - 8px)' }}>
<div style={{ display: 'flex', position: 'relative', padding: 4, gap: 12, flex: 1, minHeight: 0, overflow: 'hidden' }}>
<div className="desktop-sidebar" style={{
width: sidebarW, position: 'sticky', top: 4, alignSelf: 'flex-start', zIndex: 100,
height: 'calc(100vh - 8px)',
height: '100%',
background: 'linear-gradient(180deg, #ffffff 0%, #f8fafc 100%)',
borderRadius: '20px',
boxShadow: '0 4px 32px rgba(0, 0, 0, 0.06), 0 1px 8px rgba(0, 0, 0, 0.04)',
@@ -1148,7 +1151,8 @@ const AppLayout: React.FC = () => {
boxShadow: '0 4px 32px rgba(0, 0, 0, 0.06), 0 1px 8px rgba(0, 0, 0, 0.04)',
padding: '24px 32px 32px',
border: '1px solid rgba(0, 0, 0, 0.06)',
overflow: 'hidden',
overflow: 'auto',
minHeight: 0,
}}>
{!isMobile && <Outlet />}
</div>