set line-height for labels to prevent change in height when floated per #2222

This commit is contained in:
Mark Otto
2012-02-27 21:50:54 -08:00
parent a7b96b3e59
commit 9ee77f2c11
3 changed files with 4 additions and 2 deletions

View File

@@ -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);