Bug 1589592 - Fix Console Editor styling in RTL languages. r=Honza.
authorNicolas Chevobbe <nchevobbe@mozilla.com>
Fri, 18 Oct 2019 12:46:58 +0000
changeset 559471 e87688a24f47a4c00aebefeeca2082f4d36d6700
parent 559470 8ddcca74cb17d67e1ac21a5198b3665de82d0db9
child 559472 81c1d93d635a60de2d66e0958713fdc19fd1437d
push id12177
push usercsabou@mozilla.com
push dateMon, 21 Oct 2019 14:52:16 +0000
treeherdermozilla-beta@1918a9cd33bc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersHonza
bugs1589592
milestone71.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 1589592 - Fix Console Editor styling in RTL languages. r=Honza. Differential Revision: https://phabricator.services.mozilla.com/D49717
devtools/client/webconsole/components/Input/JSTerm.js
--- a/devtools/client/webconsole/components/Input/JSTerm.js
+++ b/devtools/client/webconsole/components/Input/JSTerm.js
@@ -1108,17 +1108,16 @@ class JSTerm extends Component {
     ) {
       return null;
     }
 
     return dom.div(
       {
         className: "jsterm-input-container devtools-input devtools-monospace",
         key: "jsterm-container",
-        style: { direction: "ltr" },
         "aria-live": "off",
         onContextMenu: this.onContextMenu,
         ref: node => {
           this.node = node;
         },
       },
       this.renderOpenEditorButton(),
       this.renderEditorOnboarding()