From 690e02f2f3ff2d4888407829d090b24ffaddbfd9 Mon Sep 17 00:00:00 2001 From: VIPIN PAUL <37212471+vipinpaul@users.noreply.github.com> Date: Fri, 5 Jan 2024 12:10:09 +0530 Subject: [PATCH] Fix the loading of LTR reference Bible resources as RTL (#290) --- .../src/components/EditorPage/TextEditor/ReferenceScribex.jsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/renderer/src/components/EditorPage/TextEditor/ReferenceScribex.jsx b/renderer/src/components/EditorPage/TextEditor/ReferenceScribex.jsx index 9d128a8f9..43816f27d 100644 --- a/renderer/src/components/EditorPage/TextEditor/ReferenceScribex.jsx +++ b/renderer/src/components/EditorPage/TextEditor/ReferenceScribex.jsx @@ -27,7 +27,6 @@ export default function ReferenceScribex(props) { const { state: { fontSize, - projectScriptureDir, }, } = useContext(ReferenceContext); @@ -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'}`, }} >