-
I've implemented a small grid layout per https://twilio-labs.github.io/paste/?path=/story/layout-grid--grid-wrapped-2-column-card-layout. The boxes do not fill the available vertical space in the row. I'd be able to implement this straightforwardly with handmade divs, but I'm not sure what the Paste way is for this. Additionally, is there a faster way of accessing the source code from one of the storybook pages than navigating through the repo? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi @sebm. Thanks for submitting your question. The Paste Grid doesn't have any opinions on the heights of the contents of each grid column. Its best practice to not set absolute heights on elements and let the content of that element dictate the height. How would you handle this using just divs? As for accessing the source code, there is a Github link on each component doc page, i.e. https://paste.twilio.design/layout/grid. |
Beta Was this translation helpful? Give feedback.
-
Hi @sebm A fairly basic but effectively solution for equal height columns based on your solution just landed in Grid. https://paste.twilio.design/layout/grid#equal-column-heights Let us know what you think. |
Beta Was this translation helpful? Give feedback.
Hi @sebm
A fairly basic but effectively solution for equal height columns based on your solution just landed in Grid. https://paste.twilio.design/layout/grid#equal-column-heights
Let us know what you think.