fix: hover

This commit is contained in:
2026-03-16 20:41:59 +01:00
parent 9076a45510
commit febca67c9b

View File

@@ -377,8 +377,9 @@ function PageRow({
return (
<div
className={cn(
'group flex items-center gap-0.5 rounded-md pr-1',
isActive && 'bg-accent text-accent-foreground'
'group flex w-full items-center gap-0.5 rounded-md pr-1',
isActive && 'bg-accent text-accent-foreground',
!isActive && 'hover:bg-accent/80'
)}
>
{isParentRow ? (
@@ -426,7 +427,7 @@ function PageRow({
) : (
<button
type="button"
className="flex min-w-0 flex-1 items-center gap-1.5 rounded px-1.5 py-1.5 text-left text-sm hover:bg-accent/80"
className="flex min-w-0 flex-1 items-center gap-1.5 rounded px-1.5 py-1.5 text-left text-sm"
onClick={onSelect}
>
<FileText className="size-3.5 shrink-0 text-muted-foreground" />