Skip to content

Commit

Permalink
fix(Badge): disable newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaoste committed Feb 15, 2022
1 parent 835049f commit 64ed624
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/components/badge/src/Badge/Badge.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export const getBadgeStyles = ({
letterSpacing:
'0.06rem' /*move to tokens or update wide letter spacing token*/,
borderRadius: `${tokens.borderRadiusSmall}`,
whiteSpace: 'nowrap',
...variantToStyles({ variant }),
...sizeToStyles({ size }),
});
Expand Down

0 comments on commit 64ed624

Please sign in to comment.