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

Tagged Content Card - cannot remove pointer hover affect #69

Open
Ec04222002 opened this issue Sep 23, 2023 · 2 comments
Open

Tagged Content Card - cannot remove pointer hover affect #69

Ec04222002 opened this issue Sep 23, 2023 · 2 comments

Comments

@Ec04222002
Copy link

<TaggedContentCard className="!transition-none !cursor-default !transform-none" key={project.id} thumbnail={project.thumbnail} title={project.title} description={project.subtitle} tags={project.links.map((link) => ( <a target="_blank" href={link.link}> {link.tag} </a> ))} />

I tried removing the default scale-up effect by passing in the !important to tailwind classes, it was able to remove the scale-up transition, but not the hover affect.

@nukeop
Copy link
Owner

nukeop commented Sep 24, 2023

I don't know much about Tailwind but it looks like you need to add hover: to your classes: https://tailwindcss.com/docs/hover-focus-and-other-states

@Ec04222002
Copy link
Author

@nukeop thanks for the reply. I tried it by adding "!hover:cursor-default", which is the equivalent of "cursor: default!important", but it's still giving me the pointer cursor. Any other ideas? Or maybe could y'all add a fix to where if there is no "href" passed in then it should be like a default cursor?

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

2 participants