Skip to content

fix: drop the dynamic-widgets builder's foot margin inside main's padding - #5502

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-5466
Nov 5, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-5466

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

test_page_fixture_renders[dynamic-widgets] has failed in the nightly journeys since #5056 made the reading column block flow. A grid item never traps its children's margins, but a block does. So main's 96px bottom padding now traps the margin of its last child, lf-widget-builder. The shared edge trim does reach the builder (--lf-frame-end: 1), but the page's own margin-block: 28px 48px outranks it, so the probe reports 48px of margin beside a 96px drawn edge. The page now gives the builder only its 28px top margin, and main's padding alone spaces the page's foot.

The only visible change is at the page's foot: the space below the builder's last help paragraph drops from 144px to 96px. At rest at the top of the page nothing moves. leaf-dev stills --state dynamic-widgets at 1280×2000 reports the state unchanged, since the page fits that window. A shorter window just stops scrolling 48px sooner.

The focused tests/journeys/test_render_gate.py::test_page_fixture_renders[dynamic-widgets] (--run-nightly) fails on main f8808301f with the one framing finding and passes on this branch.

Closes #5466 — automated triage

…ding

#5056 made the reading column block flow, so `main`'s 96px padding now
traps the margins of its last child. `lf-widget-builder` is that child,
and the page's own `margin-block: 28px 48px` outranks the shared edge
trim, which left 48px of space below the builder in addition to the
padding. The builder keeps its 28px top margin. The page's foot loses
48px, and test_page_fixture_renders[dynamic-widgets] passes again.

Closes #5466
@leaf-agent
leaf-agent merged commit c966f61 into main Nov 5, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-5466 branch November 5, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test_page_fixture_renders[dynamic-widgets]: main's framing finding below lf-widget-builder

1 participant