aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-02-22 08:12:25 -0800
committerMark Otto <[email protected]>2012-02-22 08:12:25 -0800
commit92a54a7b723065ad6c64520b2a75b410682fc755 (patch)
treec3bd2f555e8381e3b1b9d0399d114b809e5622d3 /less
parenta139167489e249345933b1e58cc7c53542abab97 (diff)
downloadbootstrap-92a54a7b723065ad6c64520b2a75b410682fc755.tar.xz
bootstrap-92a54a7b723065ad6c64520b2a75b410682fc755.zip
tighten padding on labels and badges given default line-height
Diffstat (limited to 'less')
-rw-r--r--less/badges.less4
-rw-r--r--less/labels.less4
2 files changed, 4 insertions, 4 deletions
diff --git a/less/badges.less b/less/badges.less
index 97dadcefa..273479b0f 100644
--- a/less/badges.less
+++ b/less/badges.less
@@ -3,13 +3,13 @@
// Base
.badge {
- padding: 2px 10px 3px;
+ padding: 1px 9px 2px;
font-size: @baseFontSize * .925;
font-weight: bold;
white-space: nowrap;
color: @white;
background-color: @grayLight;
- .border-radius(10px);
+ .border-radius(9px);
}
// Hover state
diff --git a/less/labels.less b/less/labels.less
index 8d9913470..fa2ec4904 100644
--- a/less/labels.less
+++ b/less/labels.less
@@ -3,8 +3,8 @@
// Base
.label {
- padding: 2px 4px 3px;
- font-size: @baseFontSize * .85;
+ padding: 1px 4px 2px;
+ font-size: @baseFontSize * .846;
font-weight: bold;
white-space: nowrap;
color: @white;