Skip to content

[css-grid-1][css-grid-2] Set min-height for ex 39 #6214

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

Conversation

SiarheiBobryk
Copy link
Contributor

@SiarheiBobryk SiarheiBobryk commented Apr 15, 2021

Set the min-height property for the .grid class to make
align-content: center; work much more clear. align-content: center;
has no sense if we run example 39 as it is.

Without min-height
Screen Shot 2021-04-15 at 1 04 45 pm

With min-height
Screen Shot 2021-04-15 at 1 04 27 pm

Set the `min-height` property for the `.grid` class to make the
`align-content: center;` work much more clear. `align-content: center;`
has no sense if we run the example 39 as it is.
@tabatkins tabatkins merged commit 30bb9fa into w3c:main Apr 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants