Bug 1324746 [RTL] Fix camera icon on Toolbox Options r=jdescottes
authorTomer Cohen <tomer@tomercohen.com>
Tue, 20 Dec 2016 17:40:48 +0200
changeset 328091 2122bed2f2ff509a7ac2f422bbf0e3a03b6391b9
parent 328090 4b72137e0459505ea590b8e1fbb7c49c1861bfd4
child 328092 da3cbd81263026b4c8295b761b265825760ee143
push id35696
push userihsiao@mozilla.com
push dateFri, 06 Jan 2017 00:42:05 +0000
treeherderautoland@2122bed2f2ff [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjdescottes
bugs1324746
milestone53.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1324746 [RTL] Fix camera icon on Toolbox Options r=jdescottes MozReview-Commit-ID: CsthQTXUAs2
devtools/client/themes/common.css
--- a/devtools/client/themes/common.css
+++ b/devtools/client/themes/common.css
@@ -276,19 +276,20 @@ checkbox:-moz-focusring {
   /* The icon is absolutely positioned in the button using ::before */
   position: relative;
 }
 
 .devtools-button::before {
   content: "";
   display: block;
   position: absolute;
-  left: 50%;
-  top: 50%;
-  margin: -8px 0 0 -8px;
+  offset-inline-start: 50%;
+  offset-block-start: 50%;
+  margin-block-start: -8px;
+  margin-inline-start: -8px;
   background-size: cover;
   background-repeat: no-repeat;
   transition: opacity 0.05s ease-in-out;
 }
 
 .devtools-button:-moz-focusring {
   outline: none;
 }