docs(ui): AGENTS.md 声明 antd skills/工具安装确认与 UI 规范;页头操作按钮底部对齐
This commit is contained in:
@@ -62,13 +62,14 @@ export default function Layout() {
|
||||
<PageContainer
|
||||
ghost
|
||||
title={
|
||||
<div>
|
||||
<div style={{ display: 'flex', flexDirection: 'column', justifyContent: 'flex-end', height: '100%' }}>
|
||||
<Typography.Title level={4} style={{ marginBottom: 2 }}>{meta.title}</Typography.Title>
|
||||
<Typography.Text type="secondary" style={{ fontSize: 12 }}>{meta.subtitle}</Typography.Text>
|
||||
</div>
|
||||
}
|
||||
subTitle={false}
|
||||
extra={pageActions}
|
||||
// 官方 skill 规范:标题右侧操作按钮底部对齐(PageContainer 的 -row 未设 align-items,默认居中)。
|
||||
extra={<div style={{ alignSelf: 'flex-end' }}>{pageActions}</div>}
|
||||
>
|
||||
<Outlet />
|
||||
</PageContainer>
|
||||
|
||||
Reference in New Issue
Block a user