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

[v4] Wrong generated order of @tailwindcss/forms overrides #16254

Closed
thepra opened this issue Feb 4, 2025 · 1 comment
Closed

[v4] Wrong generated order of @tailwindcss/forms overrides #16254

thepra opened this issue Feb 4, 2025 · 1 comment

Comments

@thepra
Copy link

thepra commented Feb 4, 2025

What version of Tailwind CSS are you using?

v4.0.3

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

npx @tailwindcss/cli

What version of Node.js are you using?

v22.2.0

What browser are you using?

N/A

What operating system are you using?

Windows 10

Reproduction URL

https://play.tailwindcss.com/4QKIJpvMY8

Describe your issue

After migration all my .form-* overridings from the mentioned plugin have become @Utility classes, fine, so far, except this overrides:
form-multiselect, form-select and form-textarea
are being put in the wrong order in the generated final css file, putting the plugins original style AFTER the overrides, creating the issue of override styles not being applied correctly and/or overridden, like in the example link.

What should I do to fix the ordering between plugin classes and my overrides?(the other form inputs are fine, given the correct order)

@philipp-spiess
Copy link
Member

Hey! Thanks for the bug report but we're already tracking this as part of #15045 so going to merge the issues 👍

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