Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
client/quick search results: fix overflowing snippets
Adorian Doran5f39a314b50d
diff --git a/apps/client/src/widgets/quick_search.ts b/apps/client/src/widgets/quick_search.tsindex 8b926c4955..c0a172c732 100644--- a/apps/client/src/widgets/quick_search.ts+++ b/apps/client/src/widgets/quick_search.ts@@ -23,7 +23,7 @@ const TPL = /*html*/`.quick-search .dropdown-menu {--quick-search-item-delimiter-color: var(--dropdown-border-color);-+max-height: 80vh;min-width: 400px;max-width: 720px;@@ -94,6 +94,8 @@ const TPL = /*html*/`background-color: var(--accented-background-color);color: var(--main-text-color);font-size: .85em;+ overflow: hidden;+ text-overflow: ellipsis;}/* Search result highlighting */