mirror of
https://github.com/zadam/trilium.git
synced 2026-01-02 04:34:25 +01:00
feat(breadcrumb): respect note color class in context menu
This commit is contained in:
parent
181ea31c1c
commit
94df5c9126
@ -69,6 +69,7 @@
|
||||
overflow: hidden;
|
||||
display: block;
|
||||
max-width: 300px;
|
||||
color: var(--custom-color, inherit) !important;
|
||||
}
|
||||
|
||||
a.breadcrumb-last-item,
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user