diff --git a/src/course-home/outline-tab/LmsHtmlFragment.jsx b/src/course-home/outline-tab/LmsHtmlFragment.jsx index 191663554c..a07c06548b 100644 --- a/src/course-home/outline-tab/LmsHtmlFragment.jsx +++ b/src/course-home/outline-tab/LmsHtmlFragment.jsx @@ -9,8 +9,9 @@ const LmsHtmlFragment = ({ title, ...rest }) => { + const direction = document.documentElement?.getAttribute('dir') || 'ltr'; const wholePage = ` - +