Closed ghost closed 1 year ago
What's the proper way to style the default Table component of this package ?
Currently the table looks like a mess in my project, because of the random styling. Like it's all over the place.
For example
Why aren't they always aligned on one side?
I want to remove the padding from the TableWrapper component as well.
TableWrapper
<div class="-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"> <div class="py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"> ... </div> </div>
What would be the best way to achieve this working with the template/slots rather than cloning all the components?
I decided to clone the entire Table component files to my project to modify it to my needs, too many things seemed weirdly styled to I made it my own as a base table.
What's the proper way to style the default Table component of this package ?
Currently the table looks like a mess in my project, because of the random styling. Like it's all over the place.
For example
Inactive search
Active search
I want to remove the padding from the
TableWrapper
component as well.What would be the best way to achieve this working with the template/slots rather than cloning all the components?