Skip to content

refactor: remove redundant replace grid-overlap rules in MDL#11409

Merged
web-padawan merged 1 commit intomainfrom
refactor/cleanup-mdl-css
Mar 25, 2026
Merged

refactor: remove redundant replace grid-overlap rules in MDL#11409
web-padawan merged 1 commit intomainfrom
refactor/cleanup-mdl-css

Conversation

@web-padawan
Copy link
Copy Markdown
Member

Summary

  • Remove replace-specific grid-row: 1 / -1 and grid-column: 1 / -1 rules from master-detail-layout base styles
  • These were originally needed to force #detail and #outgoing into the same grid cell during replace transitions (without explicit placement on the non-positioned axis, the second element was auto-placed into an implicit track)
  • The detail-placeholder changes (feat: add detail placeholder slot to master-detail-layout #11374) added explicit grid-row: 1 / grid-column: 1 to all detail elements in their base rules, making the replace-specific overrides redundant

Test plan

  • yarn test --group master-detail-layout — all tests pass
  • yarn lint:css — pass
  • Manual: verify replace transitions work in split and overlay mode (both orientations)

🤖 Generated with Claude Code

The detail-placeholder changes added explicit grid-row: 1 and
grid-column: 1 to all detail elements in base rules, which already
ensures #detail and #outgoing share the same grid cell. The
replace-specific 1 / -1 span rules are no longer needed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@web-padawan web-padawan requested a review from vursen March 25, 2026 08:06
@sonarqubecloud
Copy link
Copy Markdown

@web-padawan web-padawan merged commit 8bea60b into main Mar 25, 2026
10 checks passed
@web-padawan web-padawan deleted the refactor/cleanup-mdl-css branch March 25, 2026 08:11
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