woylie / flop_phoenix

Components for pagination, sortable tables and filter forms using Phoenix, Ecto and Flop
MIT License
384 stars 43 forks source link

How can I style my table? #367

Open herrnesto opened 7 hours ago

herrnesto commented 7 hours ago

Hello, how can I style my table, i.e. pagination? Is the idea to do this through core_components as page_size_link? But how I need to write that?

woylie commented 3 hours ago

I'm not sure I understand the question. The components use default CSS classes that can be overridden, as described here. To style the components, you just write CSS styles for those classes, or set utility classes (e.g. Tailwind) in the options.