fix(search): note path not visible in search (closes #7404)

This commit is contained in:
Elian Doran 2025-10-20 18:56:28 +03:00
parent d4a46ed4da
commit d90e02d8f4
No known key found for this signature in database
2 changed files with 7 additions and 1 deletions

View File

@ -106,6 +106,12 @@
text-align: center;
}
.note-list.list-view .note-path {
margin-left: 0.5em;
vertical-align: middle;
color: var(--muted-color);
}
/* #region Grid view */
.note-list.grid-view .note-list-container {
display: flex;

View File

@ -74,7 +74,7 @@ function ListNoteCard({ note, parentNote, expand, highlightedTokens }: { note: F
/>
<Icon className="note-icon" icon={note.getIcon()} />
<NoteLink className="note-book-title" notePath={notePath} noPreview showNotePath={note.type === "search"} highlightedTokens={highlightedTokens} />
<NoteLink className="note-book-title" notePath={notePath} noPreview showNotePath={parentNote.type === "search"} highlightedTokens={highlightedTokens} />
<NoteAttributes note={note} />
</h5>