0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

Merge pull request #19215 from twbs/label-pill-border-radius

Add $label-pill-border-radius variable
This commit is contained in:
Mark Otto 2016-02-16 20:23:03 -08:00
commit ca77f52875
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

@ -624,6 +624,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