Bug 1631742 - Port bug 1631278: Mirror the "Restore" window control button for RTL. r=aleca
authorRichard Marti <richard.marti@gmail.com>
Tue, 21 Apr 2020 12:58:43 +0200
changeset 38010 dda8f7871fbbeea697ce53a0f7a45c5dced29b69
parent 38009 2051df2a9ea4e2dded3de3901ffe7448a7b74ce5
child 38011 7ce08d6a4dd2d3ac572c6f2fb808306ae5bb64aa
push id2595
push userclokep@gmail.com
push dateMon, 04 May 2020 19:02:04 +0000
treeherdercomm-beta@f53913797371 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaleca
bugs1631742, 1631278
Bug 1631742 - Port bug 1631278: Mirror the "Restore" window control button for RTL. r=aleca
mail/themes/windows/mail/mailWindow1.css
--- a/mail/themes/windows/mail/mailWindow1.css
+++ b/mail/themes/windows/mail/mailWindow1.css
@@ -304,16 +304,20 @@ treechildren::-moz-tree-row(dummy, selec
     #titlebar-max {
       list-style-image: url(chrome://messenger/skin/window-controls/maximize.svg);
     }
 
     :root[sizemode="maximized"] #titlebar-max {
       list-style-image: url(chrome://messenger/skin/window-controls/restore.svg);
     }
 
+    :root[sizemode="maximized"] #titlebar-max:-moz-locale-dir(rtl) {
+      transform: scaleX(-1);
+    }
+
     #titlebar-close {
       list-style-image: url(chrome://messenger/skin/window-controls/close.svg);
     }
 
     :root[lwtheme-image] .titlebar-button {
       -moz-context-properties: unset;
     }
     :root[lwtheme-image] #titlebar-min {