Skip to content
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

[docs] Consistent content height in Albumn layout example #12556

Merged
merged 1 commit into from Aug 21, 2018
Merged

[docs] Consistent content height in Albumn layout example #12556

merged 1 commit into from Aug 21, 2018

Conversation

mbrookes
Copy link
Member

@mbrookes mbrookes commented Aug 16, 2018

Prevent the layout breaking if the text is of differing heights.

@oliviertassinari
Copy link
Member

@mbrookes I'm missing something. What problem is this CSS fixing?

@mbrookes
Copy link
Member Author

mbrookes commented Aug 17, 2018

Like the description says - it prevents the layout braking if the text in the Card content is of differing lengths, making the CardContent, and therefore the Cards differing heights. Try editing the text in one of the cards with and without this fix.

Edit: working example is the layouts page itself: https://material-ui.com/page-layout-examples/

No idea what's up with CI though...

@oliviertassinari
Copy link
Member

oliviertassinari commented Aug 17, 2018 via email

@mbrookes
Copy link
Member Author

Before:
image

After:
image

Working example:

image

Working example with these styles removed:

image

@oliviertassinari oliviertassinari added the docs Improvements or additions to the documentation label Aug 21, 2018
@oliviertassinari oliviertassinari merged commit 852d04b into mui:master Aug 21, 2018
@oliviertassinari
Copy link
Member

💃

@mbrookes mbrookes deleted the gallery-layout-missing-styles branch August 21, 2018 20:48
marcelpanse pushed a commit to marcelpanse/material-ui that referenced this pull request Oct 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants