diff --git a/crates/thing-core/src/layout/tree.rs b/crates/thing-core/src/layout/tree.rs index a50afbf..36cea76 100644 --- a/crates/thing-core/src/layout/tree.rs +++ b/crates/thing-core/src/layout/tree.rs @@ -197,7 +197,7 @@ impl<'a> Builder<'a, '_> { Style { display: taffy::Display::Flex, flex_direction: taffy::FlexDirection::Column, - justify_content: Some(taffy::JustifyContent::Center), + justify_content: Some(taffy::AlignContent::CENTER), padding: taffy::Rect { left: side, right: side, top: none, bottom: none }, ..Style::default() }