diff --git a/packages/webawesome/docs/docs/utilities/align-items.md b/packages/webawesome/docs/docs/utilities/align-items.md index d123ce14a..34fd12717 100644 --- a/packages/webawesome/docs/docs/utilities/align-items.md +++ b/packages/webawesome/docs/docs/utilities/align-items.md @@ -1,6 +1,6 @@ --- title: Align Items -description: Align items utilities set the gap property of flex and grid containers, like other Web Awesome layout utilities. +description: Align items utilities align items within flex and grid containers on the cross axis. layout: docs tags: layoutUtilities --- @@ -10,6 +10,7 @@ tags: layoutUtilities border: var(--wa-border-width-s) dashed var(--wa-color-neutral-border-normal); border-radius: var(--wa-border-radius-m); min-block-size: 3em; + min-inline-size: 5em; padding: var(--wa-space-2xs); } .preview-block { @@ -20,16 +21,16 @@ tags: layoutUtilities } -Web Awesome includes classes to set the `align-items` property of flex and grid containers. They can be used alongside other Web Awesome layout utilities, like [cluster](/docs/utilities/cluster) and [stack](/docs/utilities/stack), to align children in container on the container's cross axis. +Web Awesome includes classes to set the `align-items` property of flex and grid containers. Use them alongside other Web Awesome layout utilities, like [cluster](/docs/utilities/cluster) and [stack](/docs/utilities/stack), to align items in a container on the container's [cross axis](#whats-the-cross-axis). -| Class Name | `align-items` Value | Preview | -| ------------------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -| `wa-align-items-baseline` | `baseline` |
| -| `wa-align-items-center` | `center` |
| -| `wa-align-items-end` | `flex-end` |
| -| `wa-align-items-start` | `flex-start` |
| -| `wa-align-items-stretch` | `stretch` |
| +| Class Name | `align-items` Value | Preview | +| ------------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | +| `wa-align-items-baseline` | `baseline` |
| +| `wa-align-items-center` | `center` |
| +| `wa-align-items-end` | `flex-end` |
| +| `wa-align-items-start` | `flex-start` |
| +| `wa-align-items-stretch` | `stretch` |
| -## What's a Cross Axis? +## What's the Cross Axis? -The cross axis runs perpendicular to a flex container's content direction. For containers where `flex-direction` is `row` and content flows in the inline direction, the cross axis runs in the block direction. For containers where `flex-direction` is `column` and content flows in the block direction, the cross axis runs in the inline direction. +The cross axis runs perpendicular to a container's content direction. For containers where `flex-direction` is `row` and content flows in the inline direction, the cross axis runs in the block direction. For containers where `flex-direction` is `column` and content flows in the block direction, the cross axis runs in the inline direction.