v1.5.18 - Embed container sizing
Capping a tall embed now works by proportion rather than a fixed height, so a quarter is a quarter on a phone and on a desktop — plus a softer fade and a warning when two height settings conflict.
New features
- Choose how much of a tall embed to show: a quarter, a third or a half. This replaces a fixed pixel height, and the reason matters. A wall of testimonials lays out in three columns on a desktop and one on a phone, so the same content is nearly three times taller on the phone — meaning one height setting showed roughly a third of the wall on a desktop and barely a tenth on a phone, while swallowing most of the screen. A proportion is the same proportion everywhere, on any widget, including ones we have never seen.
- A warning when two height settings are used together. Capping, fixed height and fixed shape all decide the same thing, and combining them has no sensible winner. The theme now says so rather than picking one quietly.
Bug fixes
- The fade above the Show all button read as a hard cut. Two causes: the fade was too short, and there was a band of inherited empty space between the cut and the button that no amount of adjusting the fade could reach. Both corrected.
- Choosing "a quarter" behaved identically to "a third" on some widgets, and on very tall ones all three choices produced the same box — precisely where the setting matters most.
- Capping without naming an amount quietly fell back to the old fixed-height behaviour, which is the path most people take.
- Some widgets were measured before they finished loading, so the cap was calculated from a stale height. The container now waits for content that arrives late, whatever the widget is built from.
Under-the-hood improvements
- The expand animation respects the "reduce motion" accessibility preference.
- This block now has automated visual checks, so future changes to it are caught before release.
One deliberate non-change: a fixed-height embed stays a plain scroll box on phones and tablets. An earlier version silently converted it into a capped one on touch devices. Choosing a fixed height is a deliberate act, and a block that quietly swaps your choice based on the reader's screen is harder to live with than the problem it avoids. If long content is the issue, use the cap instead.