mirror of
https://github.com/SECTL/SecScore.git
synced 2026-07-19 21:14:21 +08:00
修复看板卡片内容区高度溢出问题
This commit is contained in:
@@ -930,12 +930,15 @@ ORDER BY reward_points DESC, score DESC`,
|
|||||||
onClick={() => setSelectedLeafNodeId(leaf.id)}
|
onClick={() => setSelectedLeafNodeId(leaf.id)}
|
||||||
style={{
|
style={{
|
||||||
height: "100%",
|
height: "100%",
|
||||||
|
display: "flex",
|
||||||
|
flexDirection: "column",
|
||||||
|
overflow: "hidden",
|
||||||
backgroundColor: "var(--ss-card-bg)",
|
backgroundColor: "var(--ss-card-bg)",
|
||||||
border: isSelected ? "1px solid var(--ant-color-primary, #1677ff)" : "1px solid var(--ss-border-color)",
|
border: isSelected ? "1px solid var(--ant-color-primary, #1677ff)" : "1px solid var(--ss-border-color)",
|
||||||
boxShadow: isSelected ? "0 8px 18px rgba(22, 119, 255, 0.14)" : undefined,
|
boxShadow: isSelected ? "0 8px 18px rgba(22, 119, 255, 0.14)" : undefined,
|
||||||
cursor: "pointer",
|
cursor: "pointer",
|
||||||
}}
|
}}
|
||||||
styles={{ body: { height: "100%", display: "flex", flexDirection: "column", padding: 12 } }}
|
styles={{ body: { flex: 1, minHeight: 0, display: "flex", flexDirection: "column", padding: 12 } }}
|
||||||
title={<span style={{ fontWeight: 600 }}>{list.name}</span>}
|
title={<span style={{ fontWeight: 600 }}>{list.name}</span>}
|
||||||
extra={
|
extra={
|
||||||
<Space size={6}>
|
<Space size={6}>
|
||||||
|
|||||||
Reference in New Issue
Block a user