fix: hover
This commit is contained in:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user