Bug 736512 - Followup to about:home refresh broke long labels. r=mak
authorFrank Yan <fyan@mozilla.com>
Fri, 16 Mar 2012 10:01:04 -0700
changeset 89593 6fc257a416cb3a513abb914778311adcdef8cceb
parent 89592 a53f34be3b811c202e75123a9d5f974bf7d94e8a
child 89594 2c3ffd75d2d335f75318a43a397221cbfae1e534
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersmak
bugs736512
milestone14.0a1
Bug 736512 - Followup to about:home refresh broke long labels. r=mak
browser/base/content/abouthome/aboutHome.css
--- a/browser/base/content/abouthome/aboutHome.css
+++ b/browser/base/content/abouthome/aboutHome.css
@@ -224,31 +224,31 @@ body[narrow] #launcher[session] {
 
 .launchButton {
   display: -moz-box;
   -moz-box-orient: vertical;
   margin: 16px 1px;
   padding: 14px 6px;
   min-width: 88px;
   max-width: 176px;
+  max-height: 85px;
+  vertical-align: top;
+  white-space: normal;
   background: transparent padding-box;
   border: 1px solid transparent;
   border-radius: 2.5px;
   color: #525c66;
   font-size: 75%;
   cursor: pointer;
   -moz-transition-property: background-color, border-color, box-shadow;
   -moz-transition-duration: 150ms;
 }
 
 body[narrow] #launcher[session] > .launchButton {
   margin: 4px 1px;
-  max-height: 85px;
-  vertical-align: top;
-  white-space: normal;
 }
 
 .launchButton:hover {
   background-color: hsla(211,79%,6%,.03);
   border-color: hsla(210,54%,20%,.15) hsla(210,54%,20%,.17) hsla(210,54%,20%,.2);
 }
 
 .launchButton:hover:active {