diff --git a/src/vaev-style/styles.h b/src/vaev-style/styles.h index dc905d1..6dd004b 100644 --- a/src/vaev-style/styles.h +++ b/src/vaev-style/styles.h @@ -44,7 +44,7 @@ struct JustifyContentProp { static constexpr Str name() { return "justify-content"; } - static constexpr Align initial() { return {}; } + static constexpr Align initial() { return Align(Align::Keywords::FLEX_START); } void apply(Computed &c) const { c.aligns.justifyContent = value; @@ -80,7 +80,7 @@ struct AlignSelfProp { static constexpr Str name() { return "align-self"; } - static constexpr Align initial() { return {}; } + static constexpr Align initial() { return Align(Align::Keywords::FLEX_START); } void apply(Computed &c) const { c.aligns.alignSelf = value; @@ -116,7 +116,7 @@ struct AlignItemsProp { static constexpr Str name() { return "align-items"; } - static constexpr Align initial() { return {}; } + static constexpr Align initial() { return Align(Align::Keywords::FLEX_START); } void apply(Computed &c) const { c.aligns.alignItems = value;