Skip to content

Build your personal knowledge base with Trilium Notes

Increas Mathfield font size and ensure virtual keyboard appears above CKEditor

Meinzzzzf1b2d0b870e7
diff --git a/packages/ckeditor5-math/theme/mathform.css b/packages/ckeditor5-math/theme/mathform.css
index 0d401fa5e8..628105078e 100644
--- a/packages/ckeditor5-math/theme/mathform.css
+++ b/packages/ckeditor5-math/theme/mathform.css
@@ -2,6 +2,11 @@
* Math equation editor dialog styles
*/
+/* Ensure MathLive virtual keyboard appears above CKEditor balloon */
+.ML__keyboard {
+ z-index: 10001 !important;
+}
+
/* ============================================================================
Main Dialog Container
========================================================================= */
@@ -92,6 +97,7 @@
width: 100%;
max-width: 100%;
overflow-x: auto !important;
+ font-size: 1.5em;
/* MathLive theme customization */
--selection-background-color: rgba(33, 150, 243, 0.2);