Skip to content

fix(google-docs): prevent rail cards from overlapping after mapping edits []#10941

Draft
Mitch Goudy (mgoudy91) wants to merge 5 commits intomasterfrom
mitch/rail-spacing
Draft

fix(google-docs): prevent rail cards from overlapping after mapping edits []#10941
Mitch Goudy (mgoudy91) wants to merge 5 commits intomasterfrom
mitch/rail-spacing

Conversation

@mgoudy91
Copy link
Copy Markdown
Contributor

@mgoudy91 Mitch Goudy (mgoudy91) commented Apr 29, 2026

Summary

  • Rail cards were overlapping into the next content group when stacked offsets pushed them beyond the group's natural height
  • Added a ResizeObserver so card positions are remeasured whenever a card grows (e.g. after a mapping edit adds a new field label)
  • Rail inner box now enforces a minHeight equal to the bottom edge of the lowest card, preventing overflow into adjacent groups
image

…fsets exceed group height

ResizeObserver remeasures card positions whenever a card grows, and the
rail inner box now enforces a minHeight equal to the bottom of the lowest
card so pushed-down cards don't bleed into the next content group.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@mgoudy91 Mitch Goudy (mgoudy91) changed the title fix(google-docs): prevent rail cards from overlapping after mapping edits fix(google-docs): prevent rail cards from overlapping after mapping edits [] Apr 29, 2026
Base automatically changed from fix/reassign to master April 29, 2026 14:59
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.

2 participants