Repository navigation
fix: drop the dynamic-widgets builder's foot margin inside main's padding - #5502
Merged
Merged
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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. Somain'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 ownmargin-block: 28px 48pxoutranks it, so the probe reports 48px of margin beside a 96px drawn edge. The page now gives the builder only its 28px top margin, andmain'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-widgetsat 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 mainf8808301fwith the one framing finding and passes on this branch.Closes #5466 — automated triage