Bug 891897 - Make the identity box text padding respect the UI text direction instead of its own text direction, r?gijs draft
authorRakhi Sharma <Rakhish1994@gmail.com>
Sun, 13 Mar 2016 14:27:11 +0530
changeset 339839 aeb61078748fe91be085a27b832ab279934d8d05
parent 339814 d1d47ba19ce9d46222030d491f9fe28dbf80be12
child 516054 2ec103c8d3a8cacaf2fb7d40daa9a681f7414a65
push id12804
push userbmo:Rakhish1994@gmail.com
push dateSun, 13 Mar 2016 10:09:59 +0000
reviewersgijs
bugs891897
milestone48.0a1
Bug 891897 - Make the identity box text padding respect the UI text direction instead of its own text direction, r?gijs MozReview-Commit-ID: 1ciU4tjEGbm
browser/themes/shared/identity-block/identity-block.inc.css
--- a/browser/themes/shared/identity-block/identity-block.inc.css
+++ b/browser/themes/shared/identity-block/identity-block.inc.css
@@ -50,18 +50,22 @@
 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
   color: var(--identity-box-verified-color);
 }
 
 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI {
   color: var(--identity-box-chrome-color);
 }
 
-#identity-icon-labels {
-  padding-inline-start: 2px;
+#identity-icon-labels:-moz-locale-dir(ltr) {
+  padding-left: 2px;
+}
+
+#identity-icon-labels:-moz-locale-dir(rtl) {
+  padding-right: 2px;
 }
 
 #notification-popup-box:not([hidden]) + #identity-box {
   padding-inline-start: 10px;
   border-radius: 0;
 }
 
 @conditionalForwardWithUrlbar@ > #urlbar > #identity-box {