material-tailwind icon indicating copy to clipboard operation
material-tailwind copied to clipboard

Input size property confusion

Open arahlf opened this issue 2 years ago • 2 comments

Looking at the docs, the Input has a size prop that can be md or lg, but looking at the example, they appear the same to me:

https://www.material-tailwind.com/docs/react/input#input-sizes

I'm new to React & Tailwind so not sure if I'm missing something, it's just a bad sample, or what.

arahlf avatar Dec 17 '23 11:12 arahlf

There is a difference, but a very small one. Observe the height. I agree that it should be something more notable. I also would expect a different horizontal size. The min-width of 200px is not suitable for all use cases. And adjusting the size on the fly is a bit ugly. You have to resize the container div.

don-esteban avatar Dec 18 '23 18:12 don-esteban

Thanks for the reply @don-esteban -- agreed that it's such a minor difference that it seems kinda pointless in its current state if that's all it does.

arahlf avatar Dec 18 '23 23:12 arahlf