Skip to content

refactor: use id selectors for master and detail in base styles#11401

Merged
web-padawan merged 1 commit intomainfrom
refactor/mdl-css-selectors
Mar 23, 2026
Merged

refactor: use id selectors for master and detail in base styles#11401
web-padawan merged 1 commit intomainfrom
refactor/mdl-css-selectors

Conversation

@web-padawan
Copy link
Copy Markdown
Member

Summary

  • Replace [part~='master'] and [part~='detail'] attribute selectors with #master and #detail id selectors in master-detail-layout base styles
  • The shadow DOM elements already have id="master" and id="detail" attributes, so id selectors are more efficient and specific

Test plan

  • Run yarn test --group master-detail-layout to verify no regressions
  • Verify visual tests with yarn test:lumo --group master-detail-layout

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@sonarqubecloud
Copy link
Copy Markdown

@web-padawan web-padawan removed the request for review from jouni March 23, 2026 09:28
@web-padawan web-padawan merged commit e8e05fe into main Mar 23, 2026
10 checks passed
@web-padawan web-padawan deleted the refactor/mdl-css-selectors branch March 23, 2026 09:29
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