Skip to content

Commit 6365ddc

Browse files
authored
Update badge.scss
1 parent a71e40f commit 6365ddc

File tree

1 file changed

+2
-2
lines changed
  • packages/components/src/components/badge

1 file changed

+2
-2
lines changed

packages/components/src/components/badge/badge.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@
5555
inline-size: fit-content;
5656
font-weight: 700;
5757

58-
// I added a minimum inline size, especially for single-character content, to ensure that it won't be any narrower than a circle.
58+
// 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;
5960
&:not(:empty) {
6061
min-inline-size: calc(1.4em - 2 * #{variables.$db-spacing-fixed-2xs});
61-
box-sizing: content-box;
6262
}
6363

6464
&:has(.db-icon) {

0 commit comments

Comments
 (0)