fix(web): restore homepage vertical scroll
All checks were successful
CD Pipeline / tests (push) Successful in 1m27s
Code Review / ai-code-review (push) Successful in 17s
CD Pipeline / build-and-deploy (push) Successful in 3m52s
CD Pipeline / post-deploy-checks (push) Successful in 2m18s

This commit is contained in:
Your Name
2026-05-26 05:45:56 +08:00
parent 8a71934e47
commit f0f4ac2a43

View File

@@ -1072,7 +1072,9 @@ export default function Home({ params }: { params: { locale: string } }) {
height: 'calc(100vh - 68px)',
background: '#f5f4ed',
fontFamily: 'var(--font-body), monospace',
overflow: 'hidden',
overflowX: 'hidden',
overflowY: 'auto',
overscrollBehavior: 'contain',
}}>
<section style={{
@@ -1398,11 +1400,11 @@ export default function Home({ params }: { params: { locale: string } }) {
</div>
{/* ── 主體 2 欄 ─────────────────────────────────────────────────────── */}
<div style={{ display: 'flex', flex: 1, overflow: 'hidden', padding: '14px 20px', gap: 20, background: '#f5f4ed' }}>
<div style={{ display: 'flex', flex: '0 0 auto', overflow: 'visible', padding: '14px 20px', gap: 20, background: '#f5f4ed' }}>
{/* ── 左欄 (60%): 活躍事件 + 處置統計 + 最近活動 ─────────────── */}
<div style={{
flex: 6, minWidth: 0, overflowY: 'auto',
flex: 6, minWidth: 0, overflowY: 'visible',
display: 'flex', flexDirection: 'column', gap: 14,
paddingBottom: 40,
}}>
@@ -1509,7 +1511,7 @@ export default function Home({ params }: { params: { locale: string } }) {
{/* ── 右欄 (40%): OpenClaw + 基礎架構 + 監控工具 ─────────────── */}
<div style={{
flex: 4, minWidth: 0,
overflowY: 'auto',
overflowY: 'visible',
display: 'flex',
flexDirection: 'column',
gap: 14,