aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scss/_labels.scss4
-rw-r--r--scss/_variables.scss3
2 files changed, 4 insertions, 3 deletions
diff --git a/scss/_labels.scss b/scss/_labels.scss
index 66af7c9c9..8d758ac89 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 5c92cb21d..36eb9cd70 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