aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2016-02-16 00:30:40 -0800
committerChris Rebert <[email protected]>2016-02-16 00:37:45 -0800
commit08d23959ac6dc21576442b5e1f89714cb482d6b2 (patch)
treea24864605ac9f3acd4e3fe9b11914fb4f5adaee0
parent5f455319e206dc4f29249d34f5592037a179cf87 (diff)
downloadbootstrap-08d23959ac6dc21576442b5e1f89714cb482d6b2.tar.xz
bootstrap-08d23959ac6dc21576442b5e1f89714cb482d6b2.zip
Add $label-pill-border-radius variable
[skip sauce] [skip validator]
-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