Make text selectable inside td with links

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Jonathan
2025-06-17 17:46:36 +02:00
committed by Bryan Frimin
parent b76096d1e2
commit b6cda52f37

View File

@@ -106,7 +106,9 @@ export function Td({
width={width}
className={clsx("first:*:pl-6 *:pr-6 *:block *:py-3", className)}
>
<Link to={to}>{children}</Link>
<Link to={to} className="select-text" draggable={false}>
{children}
</Link>
</td>
);
}