padding-top of table does not work. Why?
#8721
-
|
Hey, but with tailwindcss the padding seems to be ignored? Why is this? Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
davidpollet
Jun 27, 2022
Replies: 1 comment 2 replies
-
|
Hello, Add border-separate to your class. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
wuarmin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
In CSS, you need a border-collapse with a "separate" value to add a padding on table element.
Tailwind comes with a "collapse" value by default.
Add border-separate to your class.