From e5612b1340acc90a344308742242273b1f75eb66 Mon Sep 17 00:00:00 2001 From: Abdo Date: Tue, 30 Sep 2025 16:32:49 +0300 Subject: [PATCH] Add back .empty MathJax styles --- ts/lib/editable/mathjax.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ts/lib/editable/mathjax.scss b/ts/lib/editable/mathjax.scss index 03e118a70..b644eb2a3 100644 --- a/ts/lib/editable/mathjax.scss +++ b/ts/lib/editable/mathjax.scss @@ -1,4 +1,4 @@ -:global(anki-mathjax) { +anki-mathjax { white-space: pre; } @@ -11,3 +11,9 @@ img { margin: 1rem auto; transform: scale(1.1); } + +.empty { + vertical-align: text-bottom; + width: var(--font-size); + height: var(--font-size); +}