Clip the label chips to their radius

This commit is contained in:
Jackson Harper 2022-04-10 21:17:16 -07:00
parent 197ae866a8
commit a104486602

View file

@ -30,6 +30,7 @@ export function LabelChip(props: LabelChipProps): JSX.Element {
padding: '4px 8px 4px 8px',
whiteSpace: 'nowrap',
cursor: 'pointer',
backgroundClip: 'padding-box',
border: `1px solid rgba(${color[0]}, ${color[1]}, ${color[2]}, 0.7)`,
backgroundColor: `rgba(${color[0]}, ${color[1]}, ${color[2]}, 0.08)`,
}}