Skip to content

How to break words in the table thead ? #3357

Closed Answered by saadeghi
crescent1 asked this question in Q&A
Discussion options

You must be logged in to vote

Use whitespace-normal
https://play.tailwindcss.com/wqHmtOHIHS

Reason of the default behavior:
It doesn't break by default, because were' not adding any minimum width to columns and if a column is narrow because of the length of the text, it would break even if it has 2 words (look at first column here for example. We wouldn't want User<line break>ID there by default)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by saadeghi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants