Skip to content

Commit

Permalink
refactor: issuer style
Browse files Browse the repository at this point in the history
  • Loading branch information
yuche committed Oct 23, 2021
1 parent dca196a commit 6508513
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/mibao-ui/src/lib/issuer/issuer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const Issuer: React.FC<IssuerProps> = ({
<Stack spacing="4px" direction="column" justifyContent="space-between">
<Text
isTruncated
color={isBanned ? 'banned.500' : undefined}
color={isBanned ? 'banned.500' : isOneline ? 'gray.500' : undefined}
fontSize={isOneline ? '12px' : '14px' }
fontWeight={isOneline ? 'normal' : 500}
{...nameProps}
Expand Down
2 changes: 1 addition & 1 deletion libs/mibao-ui/src/lib/limited/limited.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const Limited: React.FC<LimitProps> = ({ count, serialNumber, limitedText
return null
}

return <Text color="gray.500" fontSize="12px" {...rest}>
return <Text whiteSpace="nowrap" color="gray.500" fontSize="12px" {...rest}>
{content}
</Text>
}

0 comments on commit 6508513

Please sign in to comment.