Skip to content

Commit

Permalink
chore(style): 中文对齐怎么这么难~
Browse files Browse the repository at this point in the history
  • Loading branch information
magicdawn committed Dec 29, 2024
1 parent bcfe670 commit 89a6e90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/VideoCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ const VideoCardInner = memo(function VideoCardInner({
</div>
{/* 时长 */}
{/* 番剧没有 duration 字段 */}
<span className='bili-video-card__stats__duration relative top-1px'>
<span className='bili-video-card__stats__duration relative top-0.5px'>
{isNormalVideo && durationStr}
</span>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/VideoCard/stat-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export const StatItemDisplay = memo(function ({ field, value }: StatItemType) {
return (
<span className='bili-video-card__stats--item'>
{icon}
<span className={clsx('bili-video-card__stats--text', moveTextDown && 'relative top-1px')}>
<span className={clsx('bili-video-card__stats--text', moveTextDown && 'relative top-0.5px')}>
{usingText}
</span>
</span>
Expand Down

0 comments on commit 89a6e90

Please sign in to comment.