aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-02-27 21:50:54 -0800
committerMark Otto <[email protected]>2012-02-27 21:50:54 -0800
commit9ee77f2c1106513adfaa3b81588d67e99093e707 (patch)
tree0e33cadb74e5d78409878169b6d025ccce88e474 /less
parenta7b96b3e59e6f2c5eca7d92a26780c5cfe20a815 (diff)
downloadbootstrap-9ee77f2c1106513adfaa3b81588d67e99093e707.tar.xz
bootstrap-9ee77f2c1106513adfaa3b81588d67e99093e707.zip
set line-height for labels to prevent change in height when floated per #2222
Diffstat (limited to 'less')
-rw-r--r--less/labels.less3
1 files changed, 2 insertions, 1 deletions
diff --git a/less/labels.less b/less/labels.less
index fa2ec4904..251c4f60d 100644
--- a/less/labels.less
+++ b/less/labels.less
@@ -6,8 +6,9 @@
padding: 1px 4px 2px;
font-size: @baseFontSize * .846;
font-weight: bold;
- white-space: nowrap;
+ line-height: 13px; // ensure proper line-height if floated
color: @white;
+ white-space: nowrap;
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
background-color: @grayLight;
.border-radius(3px);