note hover color

This commit is contained in:
Martti Malmi
2023-11-27 15:06:07 +02:00
parent 360ca20eba
commit 6b3102f30a
6 changed files with 12 additions and 7 deletions

View File

@ -382,7 +382,13 @@ export function NoteInner(props: NoteProps) {
}
const note = (
<div className={classNames(baseClassName, { active: highlight })} onClick={e => goToEvent(e, ev)} ref={ref}>
<div
className={classNames(baseClassName, {
active: highlight,
"hover:bg-nearly-bg-color cursor-pointer": !opt?.isRoot,
})}
onClick={e => goToEvent(e, ev)}
ref={ref}>
{content()}
</div>
);