Bug 1528573 - [RTL] The sloth SVG is overlapping the header in about:rights, r=Gijs a=pascalc
authorYuan Cheng <chengy12@msu.edu>
Thu, 04 Apr 2019 16:45:56 +0000
changeset 525979 dc02c36e1aa49025f09456b65c4805d337b28a1f
parent 525978 3ba898f98afad26f0b12d5e63b6c273392376311
child 525980 1e5ffce08e373e30c219694a9f6c00011fbe6196
push id2032
push userffxbld-merge
push dateMon, 13 May 2019 09:36:57 +0000
treeherdermozilla-release@455c1065dcbe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs, pascalc
bugs1528573
milestone67.0
Bug 1528573 - [RTL] The sloth SVG is overlapping the header in about:rights, r=Gijs a=pascalc Differential Revision: https://phabricator.services.mozilla.com/D26064
toolkit/themes/shared/aboutRights.css
--- a/toolkit/themes/shared/aboutRights.css
+++ b/toolkit/themes/shared/aboutRights.css
@@ -5,11 +5,11 @@
   background-repeat: no-repeat;
   background-position: right center;
   min-height: 300px;
   display: flex;
   align-items: center;
   padding-inline-end: 320px;
 }
 
-body[dir="rtl"] .rights-header{
-   background-position: left center;
+.rights-header:dir(rtl) {
+  background-position: left center;
 }