Skip to content

Commit 3271f2a

Browse files
committed
Feat: Set fit-content width
1 parent 5a2c2bd commit 3271f2a

File tree

1 file changed

+1
-0
lines changed
  • packages/components/src/styles/components

1 file changed

+1
-0
lines changed

packages/components/src/styles/components/tag.scss

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ $hds-tag-border-radius: 50px;
1515
.hds-tag {
1616
display: inline-flex;
1717
align-items: stretch;
18+
width: fit-content;
1819
line-height: 1rem; // 16px - override `body-100`
1920
vertical-align: middle;
2021
background-color: var(--token-color-surface-interactive);

0 commit comments

Comments
 (0)