Bug 1146146 - Maximize the number of rows of tiles by reducing the suggested explanation maximum line count to 2 instead of 3 [r=adw, a=sylvestre]
authorMarina Samuel <msamuel@mozilla.com>
Sat, 28 Mar 2015 01:08:36 -0700
changeset 258199 5fd426f495ff
parent 258198 6892b485a7e0
child 258200 1d9b014f0414
push id4619
push useredilee@gmail.com
push date2015-04-02 05:50 +0000
treeherdermozilla-beta@daf8a9291a9b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersadw, sylvestre
bugs1146146
milestone38.0
Bug 1146146 - Maximize the number of rows of tiles by reducing the suggested explanation maximum line count to 2 instead of 3 [r=adw, a=sylvestre]
browser/base/content/newtab/newTab.css
--- a/browser/base/content/newtab/newTab.css
+++ b/browser/base/content/newtab/newTab.css
@@ -154,17 +154,17 @@ input[type=button] {
 #newtab-grid[page-disabled] {
   pointer-events: none;
 }
 
 /* CELLS */
 .newtab-cell {
   display: -moz-box;
   height: 180px;
-  margin: 20px 10px 85px;
+  margin: 20px 10px 68px;
   width: 290px;
 }
 
 /* SITES */
 .newtab-site {
   position: relative;
   -moz-box-flex: 1;
   transition: 100ms ease-out;
@@ -221,17 +221,17 @@ input[type=button] {
   display: none;
   margin-left: auto;
   margin-right: auto;
   left: 0;
   top: 215px;
 }
 
 .newtab-suggested-bounds {
-  max-height: 51px; /* 51 / 17 = 3 lines maximum */
+  max-height: 34px; /* 34 / 17 = 2 lines maximum */
 }
 
 .newtab-title {
   left: 0;
   padding-top: 14px;
 }
 
 .newtab-sponsored {