Describe the bug
For Items used as links, e.g.:
<Item variant="outline" role="listitem" asChild>
<Link href={href}>
<ItemContent>
{/* ... */}
</ItemContent>
</Link>
</Item>
Shadcn uses the [a]:hover:bg-accent/50 class to target the anchor tag. This doesn't work, but [&:is(a):hover]:bg-accent/50 does.
Tailwind version:
Affected component/components
Item
How to reproduce
<Item variant="outline" role="listitem" asChild>
<Link href={href}>
<ItemContent>
{/* ... */}
</ItemContent>
</Link>
</Item>
Codesandbox/StackBlitz link
No response
Logs
System Info
Before submitting