Datatable size doesn't work with unstyled mode + tailwind #360
-
I try this example code from the doc but it won't work. The padding for the table would not change.
In the theming, tailwind section I can see that the padding is controlled by context?.size but I'm not sure how to use it.
|
Beta Was this translation helpful? Give feedback.
Answered by
tugcekucukoglu
Nov 3, 2023
Replies: 1 comment 1 reply
-
As I can see you're trying to add size functionality using classes. The best way to use Tailwind with the DataTable size example is using |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
tugcekucukoglu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As I can see you're trying to add size functionality using classes. The best way to use Tailwind with the DataTable size example is using
size
property. https://primevue.org/datatable/#api.datatable.props.size