Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

editor: fix math/formula block getting cut off on mobile (#4023)

Muhammad Ali5fd79875efb7
diff --git a/packages/editor/styles/styles.css b/packages/editor/styles/styles.css
index fe7d1d4fa..c0c5e36f0 100644
--- a/packages/editor/styles/styles.css
+++ b/packages/editor/styles/styles.css
@@ -481,6 +481,10 @@ span:focus .fake-cursor {
overflow-y: hidden;
}
+.math-block .katex-html {
+ padding-top: 10px;
+}
+
/* -- Selection Plugin ---------------------------------- */
/* p::selection,