]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add $label-pill-border-radius variable 19215/head
authorChris Rebert <code@chrisrebert.com>
Tue, 16 Feb 2016 08:30:40 +0000 (00:30 -0800)
committerChris Rebert <code@chrisrebert.com>
Tue, 16 Feb 2016 08:37:45 +0000 (00:37 -0800)
[skip sauce]
[skip validator]

scss/_labels.scss
scss/_variables.scss

index 66af7c9c9f3af34dfe713e316ecd07e0986c55b9..8d758ac89baa844076eb0f35856d3ac6f6533e69 100644 (file)
@@ -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
index 5c92cb21ddd42cb3770e5877c3b111a94bcef0b3..36eb9cd70c2d6f26eb4c8f94260f4667aa330279 100644 (file)
@@ -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