Tất cả phiên bản v0.1.2285 Tháng 9 2026Hiển thị Feed

Ghi chú phát hành được viết bằng tiếng Anh.

Content inside aspect-ratio boxes sits where it should

A follow-up that completes the previous release's aspect-ratio work. That update made boxes with an aspect-ratio the right shape, but anything centred inside one - a headline and button in the middle of a hero banner - still clung to the top, because the engine had not passed the box's real height to its centring logic. Now a centred hero centres its content vertically, and a flex layout sized by aspect-ratio places its items within the full height.

Những gì đã thay đổi

3 thay đổi
  1. Hiển thịCentred content in aspect-ratio boxes now centres. A hero banner with aspect-ratio whose contents are centred used to pin them to the top even though the box was the right height; the height is now known to the alignment step, so the content sits in the middle as intended.
  2. Hiển thịFlex layouts sized by aspect-ratio distribute within the full height. A column flex container whose height comes from aspect-ratio now treats that height as definite, so justify-content and align-items place items across the whole box rather than collapsing to the content.
  3. Hiển thịCompletes the aspect-ratio work. Together with the previous release, boxes with an aspect-ratio are now both the right shape and correctly arranged inside, for plain blocks, flex containers and grid cells.
Mọi thứ kể từ v0.1.228 ở một nơi

Phiên bản

v0.1.0 - 0.1.9 · 10 Tháng 7 2026418v0.1.427 · 25 Tháng 11 2026