Skip to content

Commit

Permalink
style: fix initial value for align-items
Browse files Browse the repository at this point in the history
  • Loading branch information
pauloamed committed Nov 4, 2024
1 parent 2f65e5b commit e919e69
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/vaev-style/styles.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ struct AlignItemsProp {

static constexpr Str name() { return "align-items"; }

static constexpr Align initial() { return Align::Keywords::FLEX_START; }
static constexpr Align initial() { return Align::Keywords::STRETCH; }

void apply(Computed &c) const {
c.aligns.alignItems = value;
Expand Down Expand Up @@ -2158,6 +2158,8 @@ using _StyleProp = Union<
FlexFlowProp,
FlexProp,

OrderProp,

// Float & Clear
FloatProp,
ClearProp,
Expand Down

0 comments on commit e919e69

Please sign in to comment.