Skip to content

Commit 087edec

Browse files
committed
fix(knowledge): 体系页空态示例卡片溢出可滚动(审查修复)
1 parent e9b6c43 commit 087edec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎app/src/pages/KnowledgePage.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export default function KnowledgePage() {
118118
// ── 整页空态(无任何体系)──
119119
if (systems.length === 0) {
120120
return (
121-
<div style={{ display: "flex", flexDirection: "column", alignItems: "center", justifyContent: "center", height: "100%", padding: 24, textAlign: "center" }}>
121+
<div style={{ display: "flex", flexDirection: "column", alignItems: "center", justifyContent: "center", height: "100%", padding: 24, textAlign: "center", overflowY: "auto" }}>
122122
<div style={{ fontSize: 40, marginBottom: 12 }}>🧠</div>
123123
<div style={{ fontSize: 18, fontWeight: 700, color: "#374151", marginBottom: 8 }}>结构在问题里的,成为体系</div>
124124
<p style={{ fontSize: 13, color: "#6b7280", lineHeight: 1.7, maxWidth: 380, margin: "0 auto 20px" }}>

0 commit comments

Comments
 (0)