-
Notifications
You must be signed in to change notification settings - Fork 766
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
File input - button not rendering correctly #1023
Comments
Are you sure you have not accidentally upgraded to Tailwind 4?
This gives a nice The file upload example at https://flowbite.com/docs/components/forms/#file-upload certainly doesnt work in Tailwind 4. |
is there any way to change the black color bg to any other colour? |
Change Here is a share of the play, the first is the copy and paste from Flowbite, which as you can see doesnt work in Tailwind 4.0.1 and the second is mine, with the above classes, and made yellow as a PoC |
Describe the bug
The file input button not rendering correctly
and I fix the issue to force ::file-selector-button like this:
input[type="file"]::file-selector-button { font-size: 1rem; }
The text was updated successfully, but these errors were encountered: