mirror of
https://github.com/zadam/trilium.git
synced 2025-12-22 23:34:25 +01:00
feat(breadcrumb): indicate archived in separator menu
This commit is contained in:
parent
66ed88c409
commit
5449d033bf
@ -21,10 +21,10 @@
|
|||||||
&:hover {
|
&:hover {
|
||||||
color: var(--custom-color, inherit);
|
color: var(--custom-color, inherit);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&.archived {
|
.archived {
|
||||||
opacity: 0.6;
|
opacity: 0.6;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
> span,
|
> span,
|
||||||
|
|||||||
@ -199,7 +199,7 @@ function BreadcrumbSeparatorDropdownContent({ notePath, noteContext, activeNoteP
|
|||||||
return <li key={note.noteId}>
|
return <li key={note.noteId}>
|
||||||
<FormListItem
|
<FormListItem
|
||||||
icon={note.getIcon()}
|
icon={note.getIcon()}
|
||||||
className={note.getColorClass()}
|
className={clsx(note.getColorClass(), note.isArchived && "archived")}
|
||||||
onClick={() => noteContext?.setNote(childNotePath)}
|
onClick={() => noteContext?.setNote(childNotePath)}
|
||||||
>
|
>
|
||||||
{childNotePath !== activeNotePath
|
{childNotePath !== activeNotePath
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user