Skip to content

equalColumnHeights question #3648

Answered by SiTaggart
jhanley87 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @jhanley87

This is just an unfortunate limitation with the Flex box based grid component. We even call it out in the docs as the last sentence for that section:

When columns have equal heights, a single child element will stretch to the height of the column. You may still need to control the width of that child though.
https://paste.twilio.design/components/grid#equal-column-heights

It's never too much of a problem as the content of the card will most likely fill the width with the column, so this really doesn't come up too much.

Long term, we want to move to a CSS grid based Grid components, which might give us a little more control over the layout of the children placed in the colu…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

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