Reading progress dot shouldnt be green

This commit is contained in:
Jackson Harper 2023-03-02 21:56:46 +08:00
parent 7fcd5e300d
commit 7f6c0e9e0a

View file

@ -118,9 +118,12 @@ export function LibraryListCard(props: LinkedItemCardProps): JSX.Element {
)} min read`
: null}
{props.item.readingProgressPercent ?? 0 > 0 ? (
<SpanBox css={{ color: '#55B938' }}>
{`${Math.round(props.item.readingProgressPercent)}%`}
</SpanBox>
<>
{``}
<SpanBox css={{ color: '#55B938' }}>
{`${Math.round(props.item.readingProgressPercent)}%`}
</SpanBox>
</>
) : null}
</Box>
<Box