Bug 1167178 - The newtab option menu items are not correctly aligned in RTL builds r?emtwo
MozReview-Commit-ID: CpNoU9qBQEW
--- a/browser/base/content/newtab/newTab.css
+++ b/browser/base/content/newtab/newTab.css
@@ -563,22 +563,22 @@ body.compact #newtab-search-container {
.newtab-customize-panel-item,
.newtab-customize-complex-option {
display: block;
text-align: start;
background-color: #F9F9F9;
}
-.newtab-customize-panel-item[selected]:-moz-locale-dir(rtl) {
+.newtab-customize-panel-item[selected]:dir(rtl){
background-position: right 15px center;
}
-.newtab-customize-complex-option:hover > .selectable:not([selected]):-moz-locale-dir(rtl),
-.selectable:not([selected]):hover:-moz-locale-dir(rtl) {
+.newtab-customize-complex-option:hover > .selectable:not([selected]):dir(rtl),
+.selectable:not([selected]):hover:dir(rtl) {
background-position: right 15px center;
}
.newtab-customize-panel-item:not([selected]),
.newtab-customize-panel-subitem:not([selected]){
color: #7A7A7A;
}