Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix(site): avoid block elements nested inside paragraph tags - #27607

#27607
Draft
stirby wants to merge 1 commit into
maincoder/coder:mainfrom
fix/invalid-block-children-paragraphcoder/coder:fix/invalid-block-children-paragraphCopy head branch name to clipboard
Draft

fix(site): avoid block elements nested inside paragraph tags#27607
stirby wants to merge 1 commit into
maincoder/coder:mainfrom
fix/invalid-block-children-paragraphcoder/coder:fix/invalid-block-children-paragraphCopy head branch name to clipboard

Conversation

@stirby

@stirby stirby commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

Closes #26933

Two components rendered block-level elements inside <p> tags, which browsers implicitly close before the block element. This produced a DOM that did not match the JSX, affecting layout, the accessibility tree, and hydration.

  • GitDeviceAuth: the paragraph wrapping the one-time code and CopyButton is now a <div> (same classes/text).
  • OrganizationMembersPage: the remove-member confirmation dialog previously wrapped a <ul> inside a <p>; the wrapper is now a <div>.

Structural-only changes; visible text, styling, and spacing are unchanged.

Checks: biome check, tsc -p ., and LSP diagnostics all pass. No new tests added per FE1; no Storybook story renders the affected dialog/component.


This PR was generated by Coder Agents on behalf of @stirby.

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.

Fix invalid block children inside paragraph elements

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.