feat(breadcrumb): indicate archived in separator menu

This commit is contained in:
Elian Doran 2025-12-16 15:05:33 +02:00
parent 66ed88c409
commit 5449d033bf
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View File

@ -21,10 +21,10 @@
&:hover {
color: var(--custom-color, inherit);
}
}
&.archived {
opacity: 0.6;
}
.archived {
opacity: 0.6;
}
> span,

View File

@ -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