Commit 9ee77f2c authored by Mark Otto's avatar Mark Otto
Browse files

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

parent a7b96b3e
Showing with 4 additions and 2 deletions
+4 -2
No preview for this file type
...@@ -3299,8 +3299,9 @@ a.thumbnail:hover { ...@@ -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;
......
...@@ -6,8 +6,9 @@ ...@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment