We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73610bf commit 0e98399Copy full SHA for 0e98399
src/course-home/outline-tab/LmsHtmlFragment.jsx
@@ -9,8 +9,9 @@ const LmsHtmlFragment = ({
9
title,
10
...rest
11
}) => {
12
+ const direction = document.documentElement?.getAttribute('dir') || 'ltr';
13
const wholePage = `
- <html>
14
+ <html dir="${direction}">
15
<head>
16
<base href="${getConfig().LMS_BASE_URL}" target="_parent">
17
<link rel="stylesheet" href="/static/${getConfig().LEGACY_THEME_NAME ? `${getConfig().LEGACY_THEME_NAME}/` : ''}css/bootstrap/lms-main.css">
0 commit comments