File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 12
12
color : var (--#{$variable-prefix}badge-color , $badge-color );
13
13
text-align : center ;
14
14
white-space : nowrap ;
15
- vertical-align : baseline ;
15
+ vertical-align : text-bottom ;
16
16
@include border-radius ($badge-border-radius );
17
17
@include gradient-bg ();
18
18
27
27
position : relative ;
28
28
top : -1px ;
29
29
}
30
+
31
+ //
32
+ // Badge Sizes
33
+ //
34
+
35
+ .badge-sm {
36
+ padding : $badge-padding-y-sm $badge-padding-x-sm ;
37
+ @include font-size ($badge-font-size-sm );
38
+ }
Original file line number Diff line number Diff line change @@ -1223,6 +1223,10 @@ $badge-color: $high-emphasis-light !default;
1223
1223
$badge-padding-y : .35em !default ;
1224
1224
$badge-padding-x : .65em !default ;
1225
1225
$badge-border-radius : $border-radius !default ;
1226
+
1227
+ $badge-font-size-sm : .65em !default ;
1228
+ $badge-padding-y-sm : .3em !default ;
1229
+ $badge-padding-x-sm : .5em !default ;
1226
1230
// scss-docs-end badge-variables
1227
1231
1228
1232
You can’t perform that action at this time.
0 commit comments