We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eec5aef commit 3392fb7Copy full SHA for 3392fb7
1 file changed
src/molecules/Tag/Tag.tsx
@@ -22,11 +22,14 @@ const Container = styled.div<ContainerProps>`
22
gap: ${spacings.x_small};
23
background: ${({ $color }) => TAG_COLORS[$color].background};
24
min-height: 24px;
25
+ min-width: fit-content;
26
+
27
> span {
28
color: ${({ $color, $textColor }) => $textColor ?? TAG_COLORS[$color].text};
29
line-height: normal;
30
}
31
> svg {
32
+ flex-shrink: 0;
33
fill: ${({ $color, $iconColor }) => $iconColor ?? TAG_COLORS[$color].text};
34
35
`;
0 commit comments