Add back sidebar hover style

This commit is contained in:
Gregory Schier
2025-01-12 21:17:29 -08:00
parent 806ce2f0ba
commit 8cd9c031e8

View File

@@ -244,6 +244,7 @@ export const SidebarItem = memo(function SidebarItem({
className={classNames(
'w-full flex gap-1.5 items-center h-xs px-1.5 rounded-md focus-visible:ring focus-visible:ring-border-focus outline-0',
editing && 'ring-1 focus-within:ring-focus',
'hover:bg-surface-highlight',
active && 'bg-surface-highlight text-text',
!active && 'text-text-subtle',
showContextMenu && '!text-text', // Show as "active" when the context menu is open