Skip to content

Having an issue constraining a div #12535

Answered by wongjn
astarrh asked this question in Help
Discussion options

You must be logged in to vote

Element children of vertical flex layouts have min-height: min-content applied to them implicitly. We'd need to override this with a smaller value (say with min-height: 0) to allow the content to shrink appropriately: https://play.tailwindcss.com/7b6VrG2Qf2

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@astarrh
Comment options

Answer selected by astarrh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants