fix(works): use default typography for card descriptions and growth
douyin-release-gate / verify (push) Failing after 20m18s

This commit is contained in:
2026-10-07 20:12:20 +08:00
parent 26fa98d907
commit 739f3f4d1e
2 changed files with 26 additions and 3 deletions
+1 -3
View File
@@ -361,7 +361,7 @@ export default function WorksGallery({ sourceId, sourceType, emptyHint, extraFil
</Typography.Paragraph>
) : null}
{work.body ? (
<Typography.Paragraph type="secondary" ellipsis={{ rows: 2, tooltip: true }} style={{ fontSize: 12, marginBottom: 0 }}>
<Typography.Paragraph ellipsis={{ rows: 2, tooltip: true }} style={{ marginBottom: 0 }}>
{work.body}
</Typography.Paragraph>
) : null}
@@ -372,11 +372,9 @@ export default function WorksGallery({ sourceId, sourceType, emptyHint, extraFil
</div>
{work.likes_growth != null || extraFilters?.growth_hours ? (
<Typography.Text
type="secondary"
style={{
display: 'block',
padding: '8px 16px 0',
fontSize: 12,
}}
>
<FireOutlined /> 24h 点赞增量 {work.likes_growth == null ? '—' : `+${work.likes_growth}`}