Repository navigation
fix(page): the map stops short of the screen's bottom on four themes - #48
Merged
Merged
Conversation
The SEO content the plugin prints inside <sahaj-atlas> opens with a heading whose top margin collapsed through the plain block element and pushed it down. atlas-page.js measured the element there; the widget then replaced that content, the element moved up, and the map stopped 10–21px short of the screen's bottom on Twenty Twenty-Four, Twenty Twenty-Five, PopularFX and Mesmerize. `display: flow-root` keeps child margins inside and is still the block box with a height that makes the map contained. Measured on Twenty Twenty-Five at 1280×720: before, top 102 → 90 at boot with the offset stuck at 102; after, top and offset 90, element ends at 720. Closes #46 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
|
I could not request a reviewer here, so this is the step left for you.
🤖 sydevs dispatcher |
sydevs-bot
pushed a commit
that referenced
this pull request
Oct 1, 2026
PR #44 landed the browser lane and PR #48 changed the Atlas element's display, so `package.json` and `AGENTS.md` both conflicted. `package.json` keeps both lanes: `test:browser` from main, and `test:measure` inside `test:all` from this branch. The browser lane stays out of `test:all` — it needs a key and the network. `AGENTS.md` keeps every trap from both sides. The lane counts are rewritten rather than taken from either side, because neither was right after the merge: four lanes run on wp-playground and the fifth runs in plain node, and `test:all` runs the first four, not the first three. The measure lane's ⚠ no longer says PR #44 fails to retire it; the reason is now that the browser lane is local-only, which is what the ⚠ has to say once #44 is merged. `assets/atlas-page.css` merged clean, and its two changes are independent: `flow-root` stops a child margin escaping, while this branch's `margin-top` on the same element still collapses with a parent's, which is the case the additive offset walk exists for. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01AhtySqkGuL4p924YTbLZZh
This was referenced Oct 1, 2026
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.
Summary
display: flow-rootinstead ofblock, so the crawlable content's heading margin can no longer move the element.Test results
pnpm test:all— 12 files linted, 241 assertions, 0 render failurestwentytwentyfour,twentytwentyfive,popularfx,mesmerizewith 0 failures, down from 13 "the element runs to the bottom of the screen" failures without it.Manual verification
Notes for reviewer
<sahaj-atlas>opens with an<h1>whose top margin collapsed through the plain block element.atlas-page.jsmeasured the element while pushed down, then the widget replaced the content and the element moved up. Nothing re-measures: fix(page): a header that grows after load is never re-measured #41 covers the missing observer, andbody's size does not change anyway.flow-rootis block-level, so this is still the "block box with a definite height" opt-in from SahajAtlasWeb#170. Nothing in the widget readsdisplay.Detail
Measured on Twenty Twenty-Five at 1280×720:
--sahaj-atlas-topstays at 102, so the element ends at 708 of 720.PopularFX: top and offset both 75, element ends at 720.
Closes #46
🤖 Generated with Claude Code