Skip to content

Build your personal knowledge base with Trilium Notes

Override the z-index of Bootstrap tooltips, making it conform to CKEditor's z-index ordering.

dousha96fc4d328018
diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css
index 53e010165a..842767294b 100644
--- a/src/public/stylesheets/style.css
+++ b/src/public/stylesheets/style.css
@@ -460,6 +460,7 @@ table.promoted-attributes-in-tooltip td, table.promoted-attributes-in-tooltip th
.tooltip {
font-size: var(--main-font-size) !important;
+ z-index: calc(var(--ck-z-panel) - 1) !important;
}
.tooltip-trigger {
@@ -960,14 +961,6 @@ li.dropdown-submenu:hover > ul.dropdown-menu {
white-space: normal !important;
}
-/**
- ckeditor's autocomplete
- should be higher than 1070 of tooltip
-*/
-.ck.ck-balloon-panel {
- z-index: 1101;
-}
-
.area-expander {
display: flex;
flex-direction: row;