Skip to content

Commit

Permalink
fix bug us 98
Browse files Browse the repository at this point in the history
  • Loading branch information
imhson committed Aug 25, 2023
1 parent 338b804 commit 8032b42
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/pages/chapter/chapterList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default function ChapterList({
}, [t('All status')])
return (
<>
<div className='w-full bg-medium-gray px-[16px] 2xl:px-[60px] py-[16px] flex items-center justify-between'>
<div className='w-full bg-[#DEDEDE] px-[16px] 2xl:px-[60px] py-[16px] flex items-center justify-between'>
<div className='flex gap-5 items-center whitespace-nowrap'>
<strong className='text-[16px]'>
{locale == 'en'
Expand Down
16 changes: 10 additions & 6 deletions src/components/pages/chapter/comicDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,17 @@ export default function ComicDetail({
</Fragment>
))}
</p>
<p className='text-subtle-dark flex items-center'>
<p className='text-subtle-dark items-center'>
<strong>{data.views?.toLocaleString('en-US')}</strong> {t('views')}
<span className='mx-3'>
<svg xmlns='http://www.w3.org/2000/svg' width='3' height='4' viewBox='0 0 3 4' fill='none'>
<circle cx='1.5' cy='2' r='1.5' fill='#61646B' />
</svg>
</span>
<svg
xmlns='http://www.w3.org/2000/svg'
width='3'
height='4'
viewBox='0 0 3 4'
fill='none'
className='inline mx-3'>
<circle cx='1.5' cy='2' r='1.5' fill='#61646B' />
</svg>
<strong>{comicLikes?.toLocaleString('en-US')}</strong> {t('likes')}
</p>
<div className={`${expandDetail ? '' : 'flex-col 2xl:flex-row'} 2xl:items-start flex gap-[10px]`}>
Expand Down

0 comments on commit 8032b42

Please sign in to comment.