Badges add Sass variable to configure $badge-border-radius (#24213)

This commit is contained in:
Patrick Yeo 2017-10-02 21:11:11 -07:00 committed by Mark Otto
parent bd858f0ceb
commit ac69547314
2 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,7 @@
text-align: center;
white-space: nowrap;
vertical-align: baseline;
@include border-radius();
@include border-radius($badge-border-radius);
// Empty badges collapse automatically
&:empty {

View File

@ -654,6 +654,7 @@ $badge-font-size: 75% !default;
$badge-font-weight: $font-weight-bold !default;
$badge-padding-y: .25em !default;
$badge-padding-x: .4em !default;
$badge-border-radius: $border-radius !default;
$badge-pill-padding-x: .6em !default;
// Use a higher than normal value to ensure completely rounded edges when