Skip to content

Arbitrary z-[10] value is not being removed by overrides #115

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

Closed
tbaustin opened this issue Jul 20, 2022 · 2 comments · Fixed by #116
Closed

Arbitrary z-[10] value is not being removed by overrides #115

tbaustin opened this issue Jul 20, 2022 · 2 comments · Fixed by #116
Labels
bug Something isn't working context-v1 Related to tailwind-merge v1

Comments

@tbaustin
Copy link

I have something like twMerge("z-[100] z-20") resulting in "z-[100] z-20" so it's not overriding correctly. And then tailwind uses the arbitrary value and the override doesn't work.

@dcastil
Copy link
Owner

dcastil commented Jul 21, 2022

Hey @tbaustin! 👋

Thats a bug indeed. I pushed a fix in v1.5.1. Let me know if the issue still persists.

@tbaustin
Copy link
Author

Hey @tbaustin! 👋

Thats a bug indeed. I pushed a fix in v1.5.1. Let me know if the issue still persists.

That worked thanks :D

@dcastil dcastil added the context-v1 Related to tailwind-merge v1 label Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working context-v1 Related to tailwind-merge v1
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants