fix(works): use default typography for card descriptions and growth
douyin-release-gate / verify (push) Failing after 20m18s
douyin-release-gate / verify (push) Failing after 20m18s
This commit is contained in:
@@ -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}`}
|
||||
|
||||
Reference in New Issue
Block a user