Skip to content
Browse files

Merge pull request #52 from pascalchevrel/bug-851160-rtl-support

Bug 851160 : add rtl support for all obvious issues
  • Loading branch information...
2 parents 3e73971 + da06c05 commit 2adbd63596d9d606e18624e092d0119fbc0297c2 @schalkneethling schalkneethling committed
Showing with 39 additions and 1 deletion.
  1. +38 −0 css/styles.css
  2. +1 −1 templates/index.html
View
38 css/styles.css
@@ -678,3 +678,41 @@ tr:nth-child(odd) td {
margin: 0px 60px 30px
}
}
+
+/* RTL support */
+
+html[dir=rtl] .selector {
+ float: left;
+}
+
+html[dir=rtl] .statsBox .icon {
+ margin-left: 8px;
+ margin-right: auto;
+}
+
+html[dir=rtl] .panelContainer {
+ left: 100px;
+}
+
+html[dir=rtl] .panelContainerArrow {
+ background-position: 68px bottom;
+}
+
+html[dir=rtl] th {
+ text-align: right;
+}
+
+
+html[dir=rtl] .icon.closeTip {
+ left: 20px;
+ right: auto;
+}
+
+html[dir=rtl] .tipBox-header > .icon:first-child {
+ margin-left: 8px;
+ margin-right: auto;
+}
+
+html[dir=rtl] .statsBoxSection-content li > .statsBoxSection-value {
+ float: left;
+}
View
2 templates/index.html
@@ -218,7 +218,7 @@ <h4 id="sec-2-1">2.1) {{ _('Configuration') }}</h4>
<tbody>
<tr>
<td class="left">appABI</td>
- <td class="left">{{ _('Binary interface for XPCOM') }} (<a href="https://developer.mozilla.org/XPCOM_ABI">https://developer.mozilla.org/XPCOM_ABI</a>)</td>
+ <td class="left">{{ _('Binary interface for XPCOM') }} (<a href="https://developer.mozilla.org/XPCOM_ABI" dir="{{ DIR }}">https://developer.mozilla.org/XPCOM_ABI</a>)</td>
</tr>
<tr>
<td class="left">appBuildID</td>

0 comments on commit 2adbd63

Please sign in to comment.
Something went wrong with that request. Please try again.