Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Link] Link underline effect broken + doesn't respect --cursor-link CSS variable #614

Open
Teddarific opened this issue Oct 23, 2024 · 1 comment

Comments

@Teddarific
Copy link

We just upgraded from Radix Themes 1 to 3.1.4 and have been experiencing broken link styling. Notably, theres no hover underline effect. It also doesn't seem to respect --cursor-link

Here's a Codesandbox demonstrating the issue: https://codesandbox.io/p/sandbox/k8thty

@Teddarific
Copy link
Author

Teddarific commented Oct 23, 2024

Update: After poking through the source code, I realized the underline + styling really only applies if it's literally a link, so you need to include a href in the component, e.g. <Link href="#"...

I'd love to be able to use the component WITHOUT needing to include the href property, but I understand if this isn't the purpose of the <Link /> component

I believe this is something that must have been updated since 1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant