Skip to content

Commit

Permalink
Add styles to avoid text clipping
Browse files Browse the repository at this point in the history
  • Loading branch information
lilia1891 committed Oct 29, 2024
1 parent 27ecf6b commit b278462
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/common/BadgeTooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,15 @@ const StyledBadge = styled(({ isLink, ...rest }) => <Badge {...rest} />)<{
padding: ${(props) => props.theme.badgePaddingY}
${(props) => props.theme.badgePaddingX};
font-weight: ${(props) => props.theme.badgeFontWeight};
line-height: 1.5;
max-width: 100%;
word-break: break-all;
word-break: break-word;
hyphens: manual;
white-space: normal;
text-align: left;
display: inline-flex;
align-items: center;
&:hover {
background-color: ${(props) =>
Expand Down

0 comments on commit b278462

Please sign in to comment.