0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

Add $label-pill-border-radius variable

[skip sauce]
[skip validator]
This commit is contained in:
Chris Rebert 2016-02-16 00:30:40 -08:00
parent 5f455319e2
commit 08d23959ac
2 changed files with 4 additions and 3 deletions

View 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

View 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