1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

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; padding: 1px 4px 2px;
font-size: 10.998px; font-size: 10.998px;
font-weight: bold; font-weight: bold;
white-space: nowrap; line-height: 13px;
color: #ffffff; color: #ffffff;
white-space: nowrap;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
background-color: #999999; background-color: #999999;
-webkit-border-radius: 3px; -webkit-border-radius: 3px;

View file

@ -6,8 +6,9 @@
padding: 1px 4px 2px; padding: 1px 4px 2px;
font-size: @baseFontSize * .846; font-size: @baseFontSize * .846;
font-weight: bold; font-weight: bold;
white-space: nowrap; line-height: 13px; // ensure proper line-height if floated
color: @white; color: @white;
white-space: nowrap;
text-shadow: 0 -1px 0 rgba(0,0,0,.25); text-shadow: 0 -1px 0 rgba(0,0,0,.25);
background-color: @grayLight; background-color: @grayLight;
.border-radius(3px); .border-radius(3px);