Make text selectable inside td with links
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
@@ -106,7 +106,9 @@ export function Td({
|
|||||||
width={width}
|
width={width}
|
||||||
className={clsx("first:*:pl-6 *:pr-6 *:block *:py-3", className)}
|
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>
|
</td>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user