Skip to content

Commit

Permalink
Allow languages to display as 'rtl' when added in meta data (#1716)
Browse files Browse the repository at this point in the history
  • Loading branch information
jennifer-shehane authored May 24, 2019
1 parent e4808b9 commit f9f416e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion themes/cypress/layout/page.swig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div id="content-wrap" class="{{ page.containerClass }}">
<div id="content-wrap" class="{{ page.containerClass }} {{ page.dir }}">
<div id="content" class="wrapper">
<div id="content-inner">
{{ partial('partial/sidebar') }}
Expand Down
4 changes: 4 additions & 0 deletions themes/cypress/source/css/_partial/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ button, select, input, input[type="submit"]::-moz-focus-inner, input[type="butto
position: relative;
top: 62px;
bottom: 334px;

&.rtl {
direction: rtl;
}
}

@media print {
Expand Down

0 comments on commit f9f416e

Please sign in to comment.