Skip to content

Commit

Permalink
💄 style: Change fontfamily
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 committed May 25, 2024
1 parent b1fa6bd commit a4b7551
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/features/ChatInput/ActionBar/Token/TokenProgress.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,19 +60,15 @@ const TokenProgress = memo<TokenProgressProps>(({ data, showIcon, showTotal }) =
)}
<div style={{ color: theme.colorTextSecondary }}>{item.title}</div>
</Flexbox>
<div style={{ fontFamily: theme.fontFamilyCode, fontSize: 13, fontWeight: 500 }}>
{format(item.value)}
</div>
<div style={{ fontWeight: 500 }}>{format(item.value)}</div>
</Flexbox>
))}
{showTotal && (
<>
<Divider style={{ marginBlock: 8 }} />
<Flexbox align={'center'} gap={4} horizontal justify={'space-between'}>
<div style={{ color: theme.colorTextSecondary }}>{showTotal}</div>
<div style={{ fontFamily: theme.fontFamilyCode, fontSize: 13, fontWeight: 500 }}>
{format(total)}
</div>
<div style={{ fontWeight: 500 }}>{format(total)}</div>
</Flexbox>
</>
)}
Expand Down

0 comments on commit a4b7551

Please sign in to comment.