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
feat(quick_search): result titles are now aligned, inline with result text
perf3ct53bcec602d11
diff --git a/apps/client/src/widgets/quick_search.ts b/apps/client/src/widgets/quick_search.tsindex 5e68610add..0d4668febe 100644--- a/apps/client/src/widgets/quick_search.ts+++ b/apps/client/src/widgets/quick_search.ts@@ -236,7 +236,10 @@ export default class QuickSearchWidget extends BasicWidget {// Build the display HTML with content snippet below the titlelet itemHtml = `<div style="display: flex; flex-direction: column;">- <div><span class="${result.icon}"></span> ${result.highlightedNotePathTitle}</div>`;+ <div style="display: flex; align-items: flex-start; gap: 6px;">+ <span class="${result.icon}" style="flex-shrink: 0; margin-top: 1px;"></span>+ <span style="flex: 1;">${result.highlightedNotePathTitle}</span>+ </div>`;// Add content snippet below the title if availableif (result.highlightedContentSnippet) {