mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-23 09:18:30 +02:00
Add back sidebar hover style
This commit is contained in:
@@ -244,6 +244,7 @@ export const SidebarItem = memo(function SidebarItem({
|
|||||||
className={classNames(
|
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',
|
'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',
|
editing && 'ring-1 focus-within:ring-focus',
|
||||||
|
'hover:bg-surface-highlight',
|
||||||
active && 'bg-surface-highlight text-text',
|
active && 'bg-surface-highlight text-text',
|
||||||
!active && 'text-text-subtle',
|
!active && 'text-text-subtle',
|
||||||
showContextMenu && '!text-text', // Show as "active" when the context menu is open
|
showContextMenu && '!text-text', // Show as "active" when the context menu is open
|
||||||
|
|||||||
Reference in New Issue
Block a user