Skip to content

Build your personal knowledge base with Trilium Notes

fix(search): draw the completion popup over the quick search results

Elian Dorandc7103d18d5d
diff --git a/apps/client/src/widgets/search_field_editor.css b/apps/client/src/widgets/search_field_editor.css
index 875042bc63..2c3aa043a1 100644
--- a/apps/client/src/widgets/search_field_editor.css
+++ b/apps/client/src/widgets/search_field_editor.css
@@ -32,6 +32,12 @@
white-space: pre-wrap;
}
+ /* Over Bootstrap dropdowns, which sit at 1000: the quick search hangs its results off this
+ same field, and the popup and its lint tooltips have to cover them. */
+ .cm-editor .cm-tooltip {
+ z-index: 1010;
+ }
+
/* Outweighs CodeMirror's `&light .cm-tooltip`, which carries two classes. */
.cm-editor .cm-tooltip.cm-tooltip-autocomplete {
font-size: 0.8125em;