-
-
Notifications
You must be signed in to change notification settings - Fork 46.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Equal height items #9154
Comments
I don't understand,What does Row height === max(Col height) so it will not bring layout issues. https://codesandbox.io/s/my8p6vk7wj |
I see ... It looks reasonable. Maybe call |
I don't think we need this, the height of children should leave to children's content or it's style. |
@yutingzhao1991 @ddcat1115 I am getting the same issues. Any have a solution for that? |
Any resolution on this issue? |
nope |
Using flexbox-enabled rows with type="flex" and setting the height to 100% on the column contents worked well for me.
|
Thanks Alvin. It works for me to set type='flux'. But don't forget to set the height to 100% on the column contents also. Not column itself, it should be the component under column. |
I have Cards in my grid. Setting row type to "flux" and the card's height to "100%" (as suggested in this thread) works perfectly in the sense that each card fills the full height of the row. However, the card's action bar is no longer at the bottom of the row. It looks like this: How can I have cards in a grid that expand to the height of the row, and with the card action buttons at the bottom of the row? |
in the Meta tag you can add a class and specify your fixed height. Like
css:
|
this is the right way |
Try this approach to stretch child node to all available space (vertically and horizontally)
|
For me, none of these were working. The solution was to remove |
If someone is interested in the case you are using a Card component inside a Col as @studioraygun intended and you have the same issue as @rsrogers4, here is how you get equal heights body cards: TLDR :
Example :
And have written in your css :
|
You helped me a lot thanks!! |
This has worked for me. Also make sure that the child of |
What problem does this feature solve?
When using the Card component it would be great to add support for equal heights. Similarly, when using Row and Col, if we could add support for equal heights on all children of a Row item, it would solve a lot of layout issues.
What does the proposed API look like?
<Row equal-heights>
or similarThe text was updated successfully, but these errors were encountered: