Bug 1167805 - Not enough padding for page title causing pin icon to overlap [r=adw, a=lizzard]
--- a/browser/base/content/newtab/newTab.css
+++ b/browser/base/content/newtab/newTab.css
@@ -242,16 +242,17 @@ input[type=button] {
}
.newtab-suggested-bounds {
max-height: 34px; /* 34 / 17 = 2 lines maximum */
}
.newtab-title {
left: 0;
+ padding: 0 4px;
}
.newtab-sponsored {
border: 1px solid #dcdcdc;
border-radius: 2px;
cursor: pointer;
display: none;
font-family: Arial;
--- a/browser/themes/shared/newtab/newTab.inc.css
+++ b/browser/themes/shared/newtab/newTab.inc.css
@@ -168,17 +168,17 @@
color: white;
}
.newtab-site:hover .newtab-title {
color: #222;
}
.newtab-site[pinned] .newtab-title {
- padding: 0 15px;
+ -moz-padding-start: 24px;
}
.newtab-site[pinned] .newtab-title::before {
background-image: -moz-image-rect(url("chrome://browser/skin/newtab/controls.svg"), 7, 278, 28, 266);
background-size: 10px;
content: "";
height: 17px;
left: 0;