From 25927afc0d55757cff88aa5540aa54ee3e46bdee Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Wed, 22 Dec 2021 12:38:24 +0100 Subject: [PATCH] MOBILE-3895 mathjax: Add overflow to block equations --- src/theme/components/format-text.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/theme/components/format-text.scss b/src/theme/components/format-text.scss index 7ac616332..02ba8bf71 100644 --- a/src/theme/components/format-text.scss +++ b/src/theme/components/format-text.scss @@ -103,7 +103,7 @@ core-format-text { color: var(--text-color); margin: 0; - + .core-format-text-arrow { width: var(--a11y-min-target-size); height: var(--a11y-min-target-size); @@ -211,6 +211,12 @@ core-format-text { .core-format-text-content .filter_mathjaxloader_equation .MathJax_Preview a { pointer-events: none; } + + .MathJax_SVG_Display { + overflow-x: auto; + margin: 0; + padding: 10px 0; + } } @keyframes loading {