Fix documentation of 'alignContent' property configured with spaces (#1808)
Summary: The documentation shall be corrected to specify in which axis the spaces are distributed when flex container is configured 'alignContent' property. Pull Request resolved: https://github.com/facebook/yoga/pull/1808 Reviewed By: joevilches Differential Revision: D74347272 Pulled By: philIip fbshipit-source-id: 1b05840028bca774c9d4a68562bcf537d5a72500
This commit is contained in:
committed by
Facebook GitHub Bot
parent
51e6095005
commit
4abc1a7d5f
@@ -17,15 +17,15 @@ has effect when items are wrapped to multiple lines using [flex wrap](/docs/styl
|
||||
|
||||
**Center**: Align wrapped lines in the center of the container's cross axis.
|
||||
|
||||
**Space between**: Evenly space wrapped lines across the container's main axis, distributing
|
||||
**Space between**: Evenly space wrapped lines across the container's cross axis, distributing
|
||||
remaining space between the lines.
|
||||
|
||||
**Space around**: Evenly space wrapped lines across the container's main axis, distributing
|
||||
**Space around**: Evenly space wrapped lines across the container's cross axis, distributing
|
||||
remaining space around the lines. Compared to space between using
|
||||
space around will result in space being distributed to the beginning of
|
||||
the first lines and end of the last line.
|
||||
|
||||
**Space evenly**: Evenly space wrapped lines across the container's main axis, distributing
|
||||
**Space evenly**: Evenly space wrapped lines across the container's cross axis, distributing
|
||||
remaining space around the lines. Compared to space around, space evenly will not
|
||||
double the gaps between children. The size of gaps between children and between
|
||||
the parent's edges and the first/last child will all be equal.
|
||||
|
Reference in New Issue
Block a user