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/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 {