Skip to content

Commit 81af863

Browse files
authored
Update badge.scss
1 parent 3fd63b9 commit 81af863

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,12 @@
5757

5858
// Added a minimum inline size, especially for single-character content, to ensure that it won't be any narrower than a circle.
5959
box-sizing: content-box;
60+
6061
&:not(:empty) {
6162
min-inline-size: calc(1.4em - 2 * #{variables.$db-spacing-fixed-2xs});
6263
}
6364

65+
// Icon specific settings
6466
&:has(.db-icon) {
6567
padding: variables.$db-spacing-fixed-3xs;
6668
}

0 commit comments

Comments
 (0)