Bug 1330611 - [compact layout] position thumbnails more towards the top in default tiles. r?gijs
MozReview-Commit-ID: 8l8EyfBWpWw
--- a/browser/themes/shared/newtab/newTab.inc.css
+++ b/browser/themes/shared/newtab/newTab.inc.css
@@ -183,16 +183,20 @@ body.compact .newtab-thumbnail.placehold
.newtab-site[type=affiliate] .newtab-thumbnail,
.newtab-site[type=enhanced] .newtab-thumbnail,
.newtab-site[type=organic] .newtab-thumbnail,
.newtab-site[type=sponsored] .newtab-thumbnail {
background-position: center center;
}
+body.compact .newtab-site[type=affiliate] .newtab-thumbnail {
+ background-position: center 30%;
+}
+
.newtab-site[type=affiliate] .newtab-thumbnail,
body:not(.compact) .newtab-site[type=enhanced] .newtab-thumbnail,
body:not(.compact) .newtab-site[type=organic] .newtab-thumbnail,
body:not(.compact) .newtab-site[type=sponsored] .newtab-thumbnail {
background-size: auto;
}
/* TITLES */