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

Binary file not shown.

View File

@ -3299,8 +3299,9 @@ a.thumbnail:hover {
padding: 1px 4px 2px;
font-size: 10.998px;
font-weight: bold;
white-space: nowrap;
line-height: 13px;
color: #ffffff;
white-space: nowrap;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
background-color: #999999;
-webkit-border-radius: 3px;

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