From 1a2d99f9b065759388da79d1116ce34d43ac26ce Mon Sep 17 00:00:00 2001 From: Charles Bournhonesque Date: Mon, 11 Sep 2023 15:15:20 -0400 Subject: [PATCH] Fix doc comments for align items (#9739) # Objective One-line fix to a doc-comment for AlignItems Co-authored-by: Charles Bournhonesque --- crates/bevy_ui/src/ui_node.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/bevy_ui/src/ui_node.rs b/crates/bevy_ui/src/ui_node.rs index cc83a6fbe43c0..e0d2ea4ff9acf 100644 --- a/crates/bevy_ui/src/ui_node.rs +++ b/crates/bevy_ui/src/ui_node.rs @@ -363,7 +363,7 @@ pub struct Style { /// - For Flexbox containers, sets default cross-axis alignment of the child items. /// - For CSS Grid containers, controls block (vertical) axis alignment of children of this grid container within their grid areas. /// - /// This value is overridden [`JustifySelf`] on the child node is set. + /// This value is overridden if [`AlignSelf`] on the child node is set. /// /// pub align_items: AlignItems, @@ -371,7 +371,7 @@ pub struct Style { /// - For Flexbox containers, this property has no effect. See `justify_content` for main-axis alignment of flex items. /// - For CSS Grid containers, sets default inline (horizontal) axis alignment of child items within their grid areas. /// - /// This value is overridden [`JustifySelf`] on the child node is set. + /// This value is overridden if [`JustifySelf`] on the child node is set. /// /// pub justify_items: JustifyItems,