From 0e98399c6b4a0496cf28bfb78bf829fca4d875f0 Mon Sep 17 00:00:00 2001 From: Taras Lytvynenko <69678257+Inferato@users.noreply.github.com> Date: Mon, 13 Nov 2023 20:34:40 +0200 Subject: [PATCH] fix: [RGOeX-25901] Handle rtl/ltr for hangouts (#1192) --- src/course-home/outline-tab/LmsHtmlFragment.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 = ` - +