Heroes are drawn at the prose measure
Owner: Ivan Hawkes
references: be-best/layouts/_partials/images/featured-image.html | be-best/assets/css/images.css

Heroes are drawn at the prose measure

A page hero is capped at the width the prose is read in.

The hero of a page is written by be-best/layouts/_partials/images/featured-image.html into main, above the .prose block, so it filled main: on a maximised window a post showed a picture 1860 pixels wide over paragraphs 65ch wide, and the full-width sizes hint of image-variants.html told the browser to take the widest variant it offers. public/post/cryengine/on-building-a-world/index.html asks for the 1920w webp of its hero, 99 KB, for a box about 600 pixels wide.

Cards were already sized to their grid by card.html, which passes its own sizes and widths; only the page hero had no hint.

Heroes are drawn at the prose measure

Acceptance Criteria

Notes