Skip to content

Build your personal knowledge base with Trilium Notes

fix(quick_search): let the results scroll up to the popup's edge

Elian Doran37443f754d31
diff --git a/apps/client/src/widgets/quick_search.css b/apps/client/src/widgets/quick_search.css
index 1d574d84b0..f8ab48cd1d 100644
--- a/apps/client/src/widgets/quick_search.css
+++ b/apps/client/src/widgets/quick_search.css
@@ -130,15 +130,18 @@
text-overflow: ellipsis;
box-shadow: -30px 50px 93px -50px black;
- /* Outranks Bootstrap's `.dropdown-menu.show { display: block }`. */
+ /* Outranks Bootstrap's `.dropdown-menu.show { display: block }` and the theme's
+ `.dropdown-menu:not(.static)` padding. */
&.show {
display: flex;
flex-direction: column;
+ padding-block: 0 !important;
}
.quick-search-results {
flex: 1 1 auto;
min-height: 0;
+ padding-block: var(--menu-padding-size, .5rem);
overflow-y: auto;
overflow-x: hidden;
}