diff options
| author | Chris Rebert <[email protected]> | 2016-02-16 00:27:53 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2016-02-16 00:27:53 -0800 |
| commit | 2c034cf5423e942ca47b632f60305522b4612898 (patch) | |
| tree | 9e9b50d2addd22c9186d35d73f52f4a9201e5626 | |
| parent | 8358471aa5312d1aea67d1fd2ab8da39f930b7cd (diff) | |
| download | bootstrap-2c034cf5423e942ca47b632f60305522b4612898.tar.xz bootstrap-2c034cf5423e942ca47b632f60305522b4612898.zip | |
Add $label-font-size variable in the name of not hardcoding values
[skip sauce]
[skip validator]
| -rw-r--r-- | scss/_labels.scss | 2 | ||||
| -rw-r--r-- | scss/_variables.scss | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/scss/_labels.scss b/scss/_labels.scss index fb4ef5aef..cb8943978 100644 --- a/scss/_labels.scss +++ b/scss/_labels.scss @@ -6,7 +6,7 @@ .label { display: inline-block; padding: $label-padding-y $label-padding-x; - font-size: 75%; + font-size: $label-font-size; font-weight: $label-font-weight; line-height: 1; color: $label-color; diff --git a/scss/_variables.scss b/scss/_variables.scss index 77e60ff71..4d2a0b196 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -618,6 +618,7 @@ $label-danger-bg: $brand-danger !default; $label-color: #fff !default; $label-link-hover-color: #fff !default; +$label-font-size: 75% !default; $label-font-weight: bold !default; $label-padding-x: .4em !default; $label-padding-y: .25em !default; |
