Skip to content

Commit

Permalink
Fix the loading of LTR reference Bible resources as RTL (#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
vipinpaul authored Jan 5, 2024
1 parent 926534d commit 690e02f
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export default function ReferenceScribex(props) {
const {
state: {
fontSize,
projectScriptureDir,
},
} = useContext(ReferenceContext);

Expand Down Expand Up @@ -85,7 +84,6 @@ export default function ReferenceScribex(props) {
fontFamily: font || 'sans-serif',
fontSize: `${fontSize}rem`,
lineHeight: (fontSize > 1.3) ? 1.5 : '',
direction: `${projectScriptureDir === 'RTL' ? 'rtl' : 'auto'}`,
}}
>
<ReferenceEditor {..._props} />
Expand Down

0 comments on commit 690e02f

Please sign in to comment.