fix: [RGOeX-25901] Handle rtl/ltr for hangouts (#1192)

This commit is contained in:
Taras Lytvynenko
2023-11-13 20:34:40 +02:00
committed by GitHub
parent 73610bf8a0
commit 0e98399c6b

View File

@@ -9,8 +9,9 @@ const LmsHtmlFragment = ({
title,
...rest
}) => {
const direction = document.documentElement?.getAttribute('dir') || 'ltr';
const wholePage = `
<html>
<html dir="${direction}">
<head>
<base href="${getConfig().LMS_BASE_URL}" target="_parent">
<link rel="stylesheet" href="/static/${getConfig().LEGACY_THEME_NAME ? `${getConfig().LEGACY_THEME_NAME}/` : ''}css/bootstrap/lms-main.css">