mirror of
https://github.com/ThearchyHelios/AgentLab.git
synced 2026-11-16 08:31:57 +00:00
数据目录阶段 1C:check-catalog 覆盖清单筛选排序、起草分批与停止、单项审阅、批量确认、编辑即确认、409、空状态与导入表格说明;页头标题放不下时截断,弹层去掉重复的读屏标签
This commit is contained in:
@@ -1597,8 +1597,9 @@ export function PageHeader({ icon, title, subtitle, actions }: {
|
||||
<span className="flex h-6 w-6 shrink-0 items-center justify-center rounded-md border bg-elev text-dim" aria-hidden>
|
||||
{icon}
|
||||
</span>
|
||||
<h1 className="shrink-0 text-sm font-semibold">{title}</h1>
|
||||
{subtitle && <p className="min-w-0 truncate text-xs text-faint" title={subtitle}>{subtitle}</p>}
|
||||
{/* 放不下时先收说明(shrink 权重大得多),说明收没了标题再截断,不把整行撑出视口 */}
|
||||
<h1 className="min-w-0 truncate text-sm font-semibold" title={title}>{title}</h1>
|
||||
{subtitle && <p className="min-w-0 shrink-[1000] truncate text-xs text-faint" title={subtitle}>{subtitle}</p>}
|
||||
<span className="flex-1" />
|
||||
{actions}
|
||||
</header>
|
||||
|
||||
Reference in New Issue
Block a user