From 4abc1a7d5fcc64c3a415d1a0dd6b11988e8e576e Mon Sep 17 00:00:00 2001 From: Santhosh Kumar Date: Wed, 7 May 2025 14:40:02 -0700 Subject: [PATCH] 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 --- website/docs/styling/align-content.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/docs/styling/align-content.mdx b/website/docs/styling/align-content.mdx index e7409723..f06345e1 100644 --- a/website/docs/styling/align-content.mdx +++ b/website/docs/styling/align-content.mdx @@ -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.