fix(ui): add explicit cursor-pointer to core interactive elements to bypass tailwind v4 layer conflicts
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
import React from 'react';
|
||||
import Link, { LinkProps } from 'next/link';
|
||||
import { useTransition } from '@/components/providers/TransitionProvider';
|
||||
import { cn } from './utils';
|
||||
|
||||
interface TransitionLinkProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, keyof LinkProps>, LinkProps {
|
||||
children: React.ReactNode;
|
||||
@@ -31,7 +32,7 @@ export function TransitionLink({ children, href, onClick, transitionMessage, ...
|
||||
};
|
||||
|
||||
return (
|
||||
<Link href={href} onClick={handleClick} {...props}>
|
||||
<Link href={href} onClick={handleClick} className={cn('cursor-pointer', props.className)} {...props}>
|
||||
{children}
|
||||
</Link>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user