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,