Skip to content

Commit

Permalink
Merge pull request #1630 from fduraibi/patch-code-block-ltr
Browse files Browse the repository at this point in the history
Set code blocks to always be LTR globally
  • Loading branch information
engelgabriel committed Dec 11, 2015
2 parents 2d98018 + 7ea0247 commit df165b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 2 additions & 0 deletions packages/rocketchat-theme/assets/stylesheets/base.less
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ code {
word-wrap: break-word;
text-align: left;
white-space: pre-wrap;
unicode-bidi: embed;
direction: ltr;
&.inline {
display: inline;
padding: 0 0.5em;
Expand Down
5 changes: 0 additions & 5 deletions packages/rocketchat-theme/assets/stylesheets/rtl.less
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@
padding-right: 0px;
}

code {
unicode-bidi: embed;
direction: ltr;
}

.side-nav {
.right(0px);
.header {
Expand Down

0 comments on commit df165b7

Please sign in to comment.