style(web): 任务与工单列表标题也加重一档,三个列表看起来是一套
知识页的标题改成 15px/semibold 之后,任务和工单还是 text-sm font-medium, 同一个产品里扫列表时视觉层级不一致。这里统一成 `text-[15px] font-semibold leading-6`, 理由和知识页一样:标题是卡片上唯一要一眼看到的东西,不能和类型、分类、标签那排 chip 等重。
This commit is contained in:
@@ -258,10 +258,11 @@ export function TasksPage() {
|
||||
/>
|
||||
)}
|
||||
|
||||
{/* 宽屏把元信息推到右侧,一行读完;窄屏仍折到标题下面 */}
|
||||
{/* 宽屏把元信息推到右侧,一行读完;窄屏仍折到标题下面。
|
||||
字号/字重和工单、知识列表统一:标题一档,chip 与日期一档 */}
|
||||
<div className="min-w-0 flex-1 md:flex md:items-center md:gap-3">
|
||||
<button
|
||||
className={`block w-full truncate text-left text-sm transition-colors md:flex-1 ${
|
||||
className={`block w-full truncate text-left text-[15px] font-semibold leading-6 transition-colors md:flex-1 ${
|
||||
done ? "text-ink-400 line-through" : "text-ink-900 hover:text-primary-700"
|
||||
}`}
|
||||
onClick={() => setOpenId(item.id)}
|
||||
|
||||
@@ -245,7 +245,7 @@ export function TicketsPage() {
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
<p className="mt-1.5 truncate text-sm font-medium text-ink-900 group-hover:text-primary-700">
|
||||
<p className="mt-1.5 truncate text-[15px] font-semibold leading-6 text-ink-900 group-hover:text-primary-700">
|
||||
{t.title}
|
||||
</p>
|
||||
<p className="mt-1 flex flex-wrap items-center gap-x-2 gap-y-0.5 text-2xs text-ink-400">
|
||||
|
||||
Reference in New Issue
Block a user