fix: hover
This commit is contained in:
@@ -377,8 +377,9 @@ function PageRow({
|
|||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={cn(
|
className={cn(
|
||||||
'group flex items-center gap-0.5 rounded-md pr-1',
|
'group flex w-full items-center gap-0.5 rounded-md pr-1',
|
||||||
isActive && 'bg-accent text-accent-foreground'
|
isActive && 'bg-accent text-accent-foreground',
|
||||||
|
!isActive && 'hover:bg-accent/80'
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
{isParentRow ? (
|
{isParentRow ? (
|
||||||
@@ -426,7 +427,7 @@ function PageRow({
|
|||||||
) : (
|
) : (
|
||||||
<button
|
<button
|
||||||
type="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}
|
onClick={onSelect}
|
||||||
>
|
>
|
||||||
<FileText className="size-3.5 shrink-0 text-muted-foreground" />
|
<FileText className="size-3.5 shrink-0 text-muted-foreground" />
|
||||||
|
|||||||
Reference in New Issue
Block a user