We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a71e40f commit 6365ddcCopy full SHA for 6365ddc
packages/components/src/components/badge/badge.scss
@@ -55,10 +55,10 @@
55
inline-size: fit-content;
56
font-weight: 700;
57
58
- // I added a minimum inline size, especially for single-character content, to ensure that it won't be any narrower than a circle.
+ // Added a minimum inline size, especially for single-character content, to ensure that it won't be any narrower than a circle.
59
+ box-sizing: content-box;
60
&:not(:empty) {
61
min-inline-size: calc(1.4em - 2 * #{variables.$db-spacing-fixed-2xs});
- box-sizing: content-box;
62
}
63
64
&:has(.db-icon) {
0 commit comments