Skip to content

Fix review comment header size - #9243

Merged
Alex Ross (alexr00) merged 1 commit into
mainfrom
alexr00/persistent-flyingfish
Nov 30, 2026
Merged

Alex Ross (alexr00) merged 1 commit into
mainfrom
alexr00/persistent-flyingfish

Conversation

@alexr00

Copy link
Copy Markdown
Member

No description provided.

Copilot AI balanced review requested due to automatic review settings November 30, 2026 16:08
@alexr00
Alex Ross (alexr00) enabled auto-merge (squash) November 30, 2026 16:08
@alexr00 Alex Ross (alexr00) self-assigned this Nov 30, 2026

Copilot AI 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.

🟡 Changes recommended

The selector’s increased specificity overrides the existing first- and last-child margin resets, adding unwanted edge spacing to comments or descriptions containing only a heading.

1 open issue
What changed in this PR

This PR corrects review-thread comment header sizing in the pull request webview by separating header styling from Markdown heading rules.

Changes:

  • Excludes review comment headers from Markdown h3 typography and spacing rules.
  • Adds a regression test comparing nested and top-level comment header styles while checking Markdown h3 sizing.
File Description
webviews/​editorWebview/​test/​timeline.test.tsx Adds style assertions for review comment headers and Markdown headings.
webviews/​editorWebview/​index.css Excludes review comment headers from Markdown h3 selectors and explains the nesting.

Review effort: Balanced

Comment thread webviews/editorWebview/index.css Resolved
@alexr00
Alex Ross (alexr00) merged commit d3faad2 into main Nov 30, 2026
6 checks passed
@alexr00
Alex Ross (alexr00) deleted the alexr00/persistent-flyingfish branch November 30, 2026 16: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.

4 participants