-
Notifications
You must be signed in to change notification settings - Fork 114
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
Add support for align-items: space-evenly #218
Add support for align-items: space-evenly #218
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very simple change. Nice test and docs changes too :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, I just have some smaller remarks/questions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I appreciate the work!
Found an error in one of the test-fixtures which should be fixed.
The nits are non-blocking.
Co-authored-by: Andreas Weibye <13300393+Weibye@users.noreply.github.com>
16a3dbb
to
62e7432
Compare
Comments addressed, and rebased on top of latest main |
* Add support for align-items: space-evenly * Add AlignContent::SpaceEvenly to RELEASES.md * Fix typo in AlignContent doc comments (gap -> gaps) Co-authored-by: Andreas Weibye <13300393+Weibye@users.noreply.github.com> * Fix align_content_space_around_single_line test Co-authored-by: Andreas Weibye <13300393+Weibye@users.noreply.github.com>
* Add support for align-items: space-evenly * Add AlignContent::SpaceEvenly to RELEASES.md * Fix typo in AlignContent doc comments (gap -> gaps) Co-authored-by: Andreas Weibye <13300393+Weibye@users.noreply.github.com> * Fix align_content_space_around_single_line test Co-authored-by: Andreas Weibye <13300393+Weibye@users.noreply.github.com>
Objective
align-content
has aspace-evenly
value in the CSS spec (see: https://developer.mozilla.org/en-US/docs/Web/CSS/align-content). This PR implements that value. For some reason we were already supporting it injustify-content
but notalign-content
even though the spec defines it for both and the implementation is pretty simple.Context
This is required for CSS Grid, but is a valid improvement in its own right so submitting separately.