diff options
| author | Patrick Yeo <[email protected]> | 2017-10-02 21:11:11 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-10-02 21:11:11 -0700 |
| commit | ac69547314b59b29b975f9246ef7234f8a63886b (patch) | |
| tree | c14bd7768475d64ff41149ac4d65d716ac0339bc | |
| parent | bd858f0ceb3989e7266d75be97e625ece62c81bd (diff) | |
| download | bootstrap-ac69547314b59b29b975f9246ef7234f8a63886b.tar.xz bootstrap-ac69547314b59b29b975f9246ef7234f8a63886b.zip | |
Badges add Sass variable to configure `$badge-border-radius` (#24213)
| -rw-r--r-- | scss/_badge.scss | 2 | ||||
| -rw-r--r-- | scss/_variables.scss | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/scss/_badge.scss b/scss/_badge.scss index fea10ebb1..b87a1b004 100644 --- a/scss/_badge.scss +++ b/scss/_badge.scss @@ -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 { diff --git a/scss/_variables.scss b/scss/_variables.scss index 7b39e8b92..095e0ae43 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -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 |
