Skip to content

Build your personal knowledge base with Trilium Notes

CSS: ck-z-modal -> ck-z-panel (for v41.0.0)

Tony Narlockf36c96602dbb
diff --git a/src/utils.js b/src/utils.js
index 335c2df6e8..f4aed49a14 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -228,6 +228,6 @@ function moveElement( parent, child ) {
child.style.position = 'absolute';
child.style.left = left + 'px';
child.style.top = top + 'px';
- child.style.zIndex = 'var(--ck-z-modal)';
+ child.style.zIndex = 'var(--ck-z-panel)';
child.style.pointerEvents = 'none';
}
diff --git a/theme/mathform.css b/theme/mathform.css
index 8f3a70c9c8..3b7b4047f9 100644
--- a/theme/mathform.css
+++ b/theme/mathform.css
@@ -31,5 +31,5 @@
}
.ck.ck-toolbar-container {
- z-index: calc(var(--ck-z-modal) + 2);
+ z-index: calc(var(--ck-z-panel) + 2);
}