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

Classes with responsive prefixes not sorted correctly #56

Closed
ivosabev opened this issue Feb 19, 2020 · 5 comments
Closed

Classes with responsive prefixes not sorted correctly #56

ivosabev opened this issue Feb 19, 2020 · 5 comments

Comments

@ivosabev
Copy link

ivosabev commented Feb 19, 2020

Current

<div class="xl:hidden sm:block lg:hidden md:hidden">Small</div>

Expected

<div class="sm:block md:hidden lg:hidden xl:hidden">Small</div>
@ivosabev ivosabev changed the title Classnames with responsive prefixes not sorted correctly Classes with responsive prefixes not sorted correctly Feb 19, 2020
@heybourn
Copy link
Owner

Please see #52. This is a known issue and the only fix right now is to manually add these responsive classes to your Headwind config.

@NoelDeMartin
Copy link

@heybourn I couldn't manage to get this working, can you share an example of the Headwind config you are using to fix this?

@amritk
Copy link

amritk commented Jul 1, 2022

@heybourn I couldn't manage to get this working, can you share an example of the Headwind config you are using to fix this?

Did you manage to figure it out?

@NoelDeMartin
Copy link

@amritk I didn't, actually I stopped using this altogether. I think eventually I'll use the official Prettier plugin, but I still have to sort some things out before starting (pun intended). So I'm not using anything to sort my classes at the moment.

@amritk
Copy link

amritk commented Jul 14, 2022

oo thanks, I'm going to check that out

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

4 participants