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