1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Extract $label-padding-{x,y} variables

[skip sauce]
[skip validator]
This commit is contained in:
Chris Rebert 2016-02-16 00:18:30 -08:00
parent 2a2462d253
commit 1d634a07ce
2 changed files with 3 additions and 1 deletions

View file

@ -5,7 +5,7 @@
.label { .label {
display: inline-block; display: inline-block;
padding: .25em .4em; padding: $label-padding-y $label-padding-x;
font-size: 75%; font-size: 75%;
font-weight: $label-font-weight; font-weight: $label-font-weight;
line-height: 1; line-height: 1;

View file

@ -619,6 +619,8 @@ $label-danger-bg: $brand-danger !default;
$label-color: #fff !default; $label-color: #fff !default;
$label-link-hover-color: #fff !default; $label-link-hover-color: #fff !default;
$label-font-weight: bold !default; $label-font-weight: bold !default;
$label-padding-x: .4em !default;
$label-padding-y: .25em !default;
// Modals // Modals