flowbite-react
flowbite-react copied to clipboard
Button doesn't fit to its parent width
Describe the bug
Button uses w-fit, that applies width: fit-content which is the available space up to the max of the content, not the available space of the parent. w-full would do that. So I think this is a bug because atm we have no way of resizing a button beyond with width of its content.
To Reproduce Steps to reproduce the behavior:
- Create a page with
Buttoncomponent - Wrap it with a
divand fit to thisdiva width
Expected behavior
The button must always respect its parent width.
Screenshots n/a
System information:
n/a
Project information:
- Tailwind: 3.0.0
- Flowbite: 1.4.7
- Flowbite React: 0.1.8
- Type: CRA
Additional context n/a