fix(ui): add explicit cursor-pointer to core interactive elements to bypass tailwind v4 layer conflicts

This commit is contained in:
2026-05-13 11:23:11 +02:00
parent 33f64272d7
commit 1c317db747
2 changed files with 3 additions and 2 deletions

View File

@@ -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>
);