fix(intelligent-eval): add top padding in drawer bodies

抽屉 body padding 为 0,顶栏按钮与提示贴住头部分割线;
详情/报告根容器补 16px 顶部内边距。
This commit is contained in:
sinohqb 2026-08-06 01:52:46 +08:00
parent 1fbd2bceed
commit 804880f1e3
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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 }}>