Bug 1146146 - Maximize the number of rows of tiles by reducing the suggested explanation maximum line count to 2 instead of 3 [r=adw]
authorMarina Samuel <msamuel@mozilla.com>
Sat, 28 Mar 2015 01:08:36 -0700
changeset 236245 af3c990c586542fedc067aa0ea311c403321c001
parent 236244 5ea88a17926803b88976bed407d4719215acc8fd
child 236246 f3b29bc194825323d3caf53917d5eb8fc83967f9
push id12060
push useredilee@gmail.com
push dateSat, 28 Mar 2015 08:08:53 +0000
treeherderfx-team@af3c990c5865 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersadw
bugs1146146
milestone39.0a1
Bug 1146146 - Maximize the number of rows of tiles by reducing the suggested explanation maximum line count to 2 instead of 3 [r=adw]
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 {