From 9ee77f2c1106513adfaa3b81588d67e99093e707 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 27 Feb 2012 21:50:54 -0800 Subject: set line-height for labels to prevent change in height when floated per #2222 --- less/labels.less | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'less') 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); -- cgit v1.2.3