From f8bdf3ceaf17aab63978f57aae4ccae657af1c86 Mon Sep 17 00:00:00 2001 From: Nathan Wallach Date: Sun, 29 May 2022 14:47:27 +0300 Subject: [PATCH] MathQuill when used in an RTL language should still create the input boxes as LTR and the menu should internally be in LTR so the symbols will appear properly. --- htdocs/js/apps/MathQuill/mqeditor.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/js/apps/MathQuill/mqeditor.css b/htdocs/js/apps/MathQuill/mqeditor.css index 57d4889c72..1cfc8b61db 100644 --- a/htdocs/js/apps/MathQuill/mqeditor.css +++ b/htdocs/js/apps/MathQuill/mqeditor.css @@ -15,6 +15,7 @@ span[id^="mq-answer"].incorrect { } span[id^="mq-answer"] { + /*rtl:ignore*/ direction: ltr; padding: 4px 5px 2px 5px; border-radius: 4px !important; @@ -31,6 +32,7 @@ input[type="text"].codeshard.mq-edit { max-height: 95vh; position: fixed; font-size: .75em; + /*rtl:ignore*/ direction: ltr; display: flex; flex-direction: column;