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

hover:after changed in 3.0.0-alpha.2 #6102

Closed
federicocappellotto97 opened this issue Nov 16, 2021 · 1 comment
Closed

hover:after changed in 3.0.0-alpha.2 #6102

federicocappellotto97 opened this issue Nov 16, 2021 · 1 comment

Comments

@federicocappellotto97
Copy link

What version of Tailwind CSS are you using?

v3.0.0-alpha.2

What build tool (or framework if it abstracts the build tool) are you using?

Tailwind Playground

What browser are you using?

For example: Chrome, Safari, or N/A

Chrome

What operating system are you using?

macOS

Reproduction URL

https://play.tailwindcss.com/7XadQIVIPi

Describe your issue

I was using alpha.1 and the class hover:after:w-0 was working, when i hover on my link the after goes to width: 0
Now, with alpha.2 it stopped working, it seems now you have to hover the after to trigger that class, but of course it's not possible to hover an after.

Class with alpha.1 generated was .hover\:after\:w-0:hover:after, now is .hover\:after\:w-0:after:hover

I think it would be better revert this, and add :hover before :after

@RobinMalfait
Copy link
Contributor

Hey! Thank you for your bug report!
Much appreciated! 🙏

This will be fixed in the next Alpha, but you can already try it using npm install tailwindcss@insiders or yarn add tailwindcss@insiders.

Relevant PR: #6018

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