Bug 1560555 - Adds rtl support to certificate viewer. r=johannh
authordleblanccyr <danielleleb12@gmail.com>
Sat, 22 Jun 2019 22:13:19 +0000
changeset 544364 ea6af5ad89e2040f1bfe28f49adcf14f6e65f4d5
parent 544363 2847eb5f456280d4a3bb15c56756bf9ee1309609
child 544365 88d424f4bde2f2005d24fb8dd32589a48118d160
child 544376 2b1bee2c77347e39b4a6f0023cf1a7dabc4db607
push id2131
push userffxbld-merge
push dateMon, 26 Aug 2019 18:30:20 +0000
treeherdermozilla-release@b19ffb3ca153 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjohannh
bugs1560555
milestone69.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 1560555 - Adds rtl support to certificate viewer. r=johannh Differential Revision: https://phabricator.services.mozilla.com/D35537
toolkit/components/certviewer/content/components/info-group.css
toolkit/components/certviewer/content/components/info-item.css
--- a/toolkit/components/certviewer/content/components/info-group.css
+++ b/toolkit/components/certviewer/content/components/info-group.css
@@ -10,16 +10,20 @@
   align-items: center;
 }
 
 .info-group-title {
   text-align: right;
   font-weight: 600;
 }
 
+.info-group-title:dir(rtl) {
+  text-align: left;
+}
+
 .info-group-title-hr {
   height: 1px;
   background-color: black;
   width: calc(100% - 3.5em);
   position: relative;
   margin: auto 0;
   top: 0;
   left: 0;
--- a/toolkit/components/certviewer/content/components/info-item.css
+++ b/toolkit/components/certviewer/content/components/info-item.css
@@ -7,15 +7,19 @@
   display: contents;
 }
 
 label {
   text-align: right;
   margin-inline-end: 0;
 }
 
+label:dir(rtl) {
+  text-align: left;
+}
+
 .long-hex {
   max-width: 100%;
   overflow: hidden;
   word-break: break-all;
   text-overflow: ellipsis;
   white-space: nowrap;
 }