We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
fit-content
1 parent 5a2c2bd commit 3271f2aCopy full SHA for 3271f2a
packages/components/src/styles/components/tag.scss
@@ -15,6 +15,7 @@ $hds-tag-border-radius: 50px;
15
.hds-tag {
16
display: inline-flex;
17
align-items: stretch;
18
+ width: fit-content;
19
line-height: 1rem; // 16px - override `body-100`
20
vertical-align: middle;
21
background-color: var(--token-color-surface-interactive);
0 commit comments