-
Notifications
You must be signed in to change notification settings - Fork 25
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
How to make the height of all the cards similar? #45
Comments
Hello again @piyush97 , There are multiple ways of achieving the desired effect:
As you can see, there are solutions, but they might backfire on the whole project. Hope that information helps you. Please let us know if we can help you with anything else. Best, |
if this is based on the actual material-ui, it should include flex implementation right ? https://material-ui.com/layout/grid/ using the flex interactive demo, setting alignItems to 'stretch' should help you achieve your goal. |
@einazare I was going to create another issue but i might as well ask here. Related to my previous comment about OP using flexbox grid options from material-ui. I have a local version running, and i tried using the flexbox options found on: https://material-ui.com/layout/grid/ and the compiler gives me an error and complains about then: Any ideas ? EDIT: im an idiot!, had copied the wrong part of the code and now it works. My apologies. |
Can you please send a snippet of the approach you used? |
Use
|
Thanks @calebpsdinc |
It seems this is not an available feature to do it native yet. |
I have the same problem and can not figuret it :( |
Simple solution:
|
I created equal card heights by adding inline styling of height='100%' in my Card component:
|
The height of every card is different.
Is there any way I can make all them of same height?
Thanks in advance
The text was updated successfully, but these errors were encountered: