fix(intelligent-eval): add top padding in drawer bodies
抽屉 body padding 为 0,顶栏按钮与提示贴住头部分割线; 详情/报告根容器补 16px 顶部内边距。
This commit is contained in:
parent
1fbd2bceed
commit
804880f1e3
@ -108,7 +108,7 @@ export default function EvalDetail({ ev, targetName, onOpenReport, onChanged }:
|
|||||||
}, '已打回,等待重新规划')
|
}, '已打回,等待重新规划')
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div style={{ height: '100%', overflowY: 'auto', padding: '0 16px 16px' }}>
|
<div style={{ height: '100%', overflowY: 'auto', padding: 16 }}>
|
||||||
<div style={{ display: 'flex', alignItems: 'center', gap: 8, marginBottom: 12 }}>
|
<div style={{ display: 'flex', alignItems: 'center', gap: 8, marginBottom: 12 }}>
|
||||||
<span style={{ fontSize: 16, fontWeight: 600, color: colors.text }}>{ev.name}</span>
|
<span style={{ fontSize: 16, fontWeight: 600, color: colors.text }}>{ev.name}</span>
|
||||||
<Tag color={meta.color}>{meta.label}</Tag>
|
<Tag color={meta.color}>{meta.label}</Tag>
|
||||||
|
|||||||
@ -163,7 +163,7 @@ export default function EvalReport({ ev, onBack }: EvalReportProps) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div style={{ height: '100%', overflowY: 'auto', padding: '0 16px 16px' }}>
|
<div style={{ height: '100%', overflowY: 'auto', padding: 16 }}>
|
||||||
<div style={{ display: 'flex', alignItems: 'center', gap: 8, marginBottom: 12 }}>
|
<div style={{ display: 'flex', alignItems: 'center', gap: 8, marginBottom: 12 }}>
|
||||||
<Button icon={<ArrowLeftOutlined />} onClick={onBack}>返回详情</Button>
|
<Button icon={<ArrowLeftOutlined />} onClick={onBack}>返回详情</Button>
|
||||||
<span style={{ fontSize: 16, fontWeight: 600, color: colors.text }}>
|
<span style={{ fontSize: 16, fontWeight: 600, color: colors.text }}>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user