Skip to content

Build your personal knowledge base with Trilium Notes

chore(breadcrumb): use bold for highlighting active entry

Elian Doran70ded4c2cd18
diff --git a/apps/client/src/widgets/Breadcrumb.tsx b/apps/client/src/widgets/Breadcrumb.tsx
index 632d2c9719..8f09fdd2b8 100644
--- a/apps/client/src/widgets/Breadcrumb.tsx
+++ b/apps/client/src/widgets/Breadcrumb.tsx
@@ -64,8 +64,11 @@ function BreadcrumbSeparatorDropdownContent({ notePath, noteContext, activeNoteP
<FormListItem
icon={note.getIcon()}
onClick={() => noteContext?.setNote(childNotePath)}
- checked={childNotePath === activeNotePath}
- >{note.title}</FormListItem>
+ >
+ {childNotePath !== activeNotePath
+ ? note.title
+ : <strong>{note.title}</strong>}
+ </FormListItem>
</li>
})}
</ul>