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: v5 input size inside join not applied #3415

Closed
Mashiane opened this issue Jan 26, 2025 · 2 comments
Closed

bug: v5 input size inside join not applied #3415

Mashiane opened this issue Jan 26, 2025 · 2 comments

Comments

@Mashiane
Copy link
Contributor

What version of daisyUI are you using?

v5

Which browsers are you seeing the problem on?

Edge

Reproduction URL

https://play.tailwindcss.com/dewEeSi1Ne

Describe your issue

Hi

Image

I have set both the input control and button to -sm, its applied for the button but not for the input component.

Thanks

Copy link

Thank you @Mashiane 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.

@saadeghi
Copy link
Owner

Don't use input class twice.

- <label class="m-0 p-0 input join-item">
-   <input autocomplete="off" type="search" placeholder="Search…" class="input w-full input-sm">
+ <label class="m-0 p-0 input input-sm join-item">
+   <input autocomplete="off" type="search" placeholder="Search…">
</label>

https://play.tailwindcss.com/nWUPuakwTD

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