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

bug: Can't Override Input Size Attributes #2651

Closed
gblandinkingland opened this issue Dec 13, 2023 · 1 comment
Closed

bug: Can't Override Input Size Attributes #2651

gblandinkingland opened this issue Dec 13, 2023 · 1 comment
Assignees

Comments

@gblandinkingland
Copy link

What version of daisyUI are you using?

v4.4.19

Which browsers are you seeing the problem on?

Edge

Reproduction URL

https://play.tailwindcss.com/ftoGaT3hDA

Describe your issue

The padding and height attributes of inputs cannot be overridden. This is likely the same issue from #2499 just in /src/utilities/unstyled/input.css instead of /src/components/styled/input.css.

The following code snippet won't work in v4 but did in v3.
<input class="input input-sm input-primary pl-8 m-5"></input>
Of course, similar to in the mentioned issue above, adding important makes this work correctly.
<input class="input input-sm input-primary !pl-8 m-5"></input>

The URL provided has this exact example to demonstrate.

Copy link

Thank you @gblandinkingland for reporting issues. It helps daisyUI a lot 💚
I'll be working on issues one by one. I will help with this one as soon as a I find a solution.
In the meantime providing more details and reproduction links would be helpful.

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