Skip to content

Commit

Permalink
[@mantine/core] Chip: Fix unexpected line break when children are not…
Browse files Browse the repository at this point in the history
… a plain string (#4328)
  • Loading branch information
lawff committed May 30, 2023
1 parent fbde64f commit 9eb028b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mantine-core/src/Chip/Chip.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export default createStyles((theme, { radius, color }: ChipStylesParams, { size,
...theme.fn.fontStyles(),
boxSizing: 'border-box',
color: theme.colorScheme === 'dark' ? theme.colors.dark[0] : theme.black,
display: 'inline-block',
display: 'inline-flex',
alignItems: 'center',
userSelect: 'none',
border: `${rem(1)} solid transparent`,
Expand Down

0 comments on commit 9eb028b

Please sign in to comment.