feat(breadcrumb): respect note color class in context menu

This commit is contained in:
Elian Doran 2025-12-16 15:02:16 +02:00
parent 181ea31c1c
commit 94df5c9126
No known key found for this signature in database
2 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,7 @@
overflow: hidden;
display: block;
max-width: 300px;
color: var(--custom-color, inherit) !important;
}
a.breadcrumb-last-item,

View File

@ -198,6 +198,7 @@ function BreadcrumbSeparatorDropdownContent({ notePath, noteContext, activeNoteP
return <li key={note.noteId}>
<FormListItem
icon={note.getIcon()}
className={note.getColorClass()}
onClick={() => noteContext?.setNote(childNotePath)}
>
{childNotePath !== activeNotePath