Skip to content

Commit

Permalink
Fix using column variable for row calculation (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
adjabaev authored Jan 3, 2023
1 parent 859cc92 commit 3811c5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compute/grid/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ pub fn compute(
// The Option is None if the style property is Auto and an unresolvable Span
let maybe_row_indexes = child_style
.grid_row
.into_origin_zero(final_col_counts.explicit)
.into_origin_zero(final_row_counts.explicit)
.resolve_absolutely_positioned_grid_tracks()
.map(|maybe_grid_line| {
maybe_grid_line.map(|line: OriginZeroLine| line.into_track_vec_index(final_row_counts))
Expand Down

0 comments on commit 3811c5c

Please sign in to comment.