Skip to content

fix(styles): scope form element selectors to .sl-container - #69

Merged
Infi-Knight merged 2 commits into
mainfrom
fix/scope-form-selectors
Apr 8, 2026
Merged

Infi-Knight merged 2 commits into
mainfrom
fix/scope-form-selectors

Conversation

@Infi-Knight

@Infi-Knight Infi-Knight commented Apr 7, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Context

interledger.org-v5 mixes Starlight doc pages with non-Starlight pages. The unscoped form selectors in ilf-docs.css applied globally, causing the contact form and other non-doc pages to inherit Starlight's accent border, spacing, and font sizing.

Resolves INTORG-529

Test plan

  • Verify form inputs on Starlight doc pages still have correct styling
  • Verify non-Starlight pages (e.g., /contact) no longer inherit Starlight form styles

🤖 Generated with Claude Code

Unscoped label, input, ::placeholder, and input:focus selectors were
leaking Starlight form styles onto non-Starlight pages. Same pattern
as the h3 fix in #68.
@Infi-Knight
Infi-Knight requested a review from Anca2022 April 7, 2026 08:54
@Infi-Knight Infi-Knight self-assigned this Apr 7, 2026

@Anca2022 Anca2022 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Infi-Knight
Infi-Knight merged commit 1685352 into main Apr 8, 2026
1 check passed
@Infi-Knight
Infi-Knight deleted the fix/scope-form-selectors branch April 8, 2026 03:37
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