diff --git a/scss/_labels.scss b/scss/_labels.scss index 66af7c9c9f..8d758ac89b 100644 --- a/scss/_labels.scss +++ b/scss/_labels.scss @@ -45,9 +45,7 @@ a.label { .label-pill { padding-right: $label-pill-padding-x; padding-left: $label-pill-padding-x; - // Use a higher than normal value to ensure completely rounded edges when - // customizing padding or font-size on labels. - @include border-radius(10rem); + @include border-radius($label-pill-border-radius); } // Colors diff --git a/scss/_variables.scss b/scss/_variables.scss index 5c92cb21dd..36eb9cd70c 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -623,6 +623,9 @@ $label-padding-x: .4em !default; $label-padding-y: .25em !default; $label-pill-padding-x: .6em !default; +// Use a higher than normal value to ensure completely rounded edges when +// customizing padding or font-size on labels. +$label-pill-border-radius: 10rem !default; // Modals