style(admin): 侧边栏去掉「侧栏卡片」小标题,说明贴近标题
- 删除 SidebarPanel 里的「侧栏卡片」标签 - SidebarPanel 不再挂 .admin-form(它带 20px margin-top), 标题到说明的距离由 32px 变成 12px,与「内容卡片」一致 - 三个开关行间距不变(Space gap=md)
This commit is contained in:
@@ -1333,14 +1333,11 @@ function SidebarPanel({
|
||||
saving: boolean
|
||||
}) {
|
||||
return (
|
||||
<Space direction="column" gap="md" align="stretch" className="admin-form">
|
||||
<Space direction="column" gap="md" align="stretch">
|
||||
<Text size="sm" tone="muted">
|
||||
说明:分组在侧边栏的显隐只由「分组管理 → 状态」决定;这里只管三块侧栏卡片。
|
||||
</Text>
|
||||
|
||||
<Text size="sm" strong>
|
||||
侧栏卡片
|
||||
</Text>
|
||||
<ToggleRow
|
||||
label="本地管理员"
|
||||
checked={value.show_profile !== false}
|
||||
|
||||
Reference in New Issue
Block a user