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

Extract $label-pill-padding-x variable

[skip sauce]
[skip validator]
This commit is contained in:
Chris Rebert 2016-02-16 00:23:53 -08:00
parent 8358471aa5
commit c80cf45960
2 changed files with 3 additions and 2 deletions

View File

@ -43,8 +43,8 @@ a.label {
// Make them extra rounded with a modifier to replace v3's badges.
.label-pill {
padding-right: .6em;
padding-left: .6em;
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);

View File

@ -622,6 +622,7 @@ $label-font-weight: bold !default;
$label-padding-x: .4em !default;
$label-padding-y: .25em !default;
$label-pill-padding-x: .6em !default;
// Modals