Skip to content

v0.11.0

Latest

Choose a tag to compare

@nicoburns nicoburns released this 12 Jun 11:45
· 5 commits to main since this release
2ddc664

The MSRV for this release is 1.71.

Implemented safe alignment keywords (#952)

Taffy now implements safe alignment (in addition to unsafe alignment).

The alignment style types are now structs consisting of an AlignmentKeyword and an AlignmentSafety modifier. For most users this will mean changing from using enum variants like AlignContent::Start to associated constants like AlignContent::START.

This change applies to the AlignContent, JustifyContent, AlignItems, JustifyItems, AlignSelf, and JustifySelf types.

Fixed

  • Grid: resolve item percentages against grid area rather than grid container (#960)