chore(ui): account for nested code elements - #9028
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR SummaryLow Risk Overview Shipped as a patch for Reviewed by Cursor Bugbot for commit a9304fc. Bugbot is set up for automated code reviews on this repo. Configure here. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9028 +/- ##
==========================================
+ Coverage 75.10% 75.13% +0.03%
==========================================
Files 102 102
Lines 9109 9109
Branches 372 372
==========================================
+ Hits 6841 6844 +3
+ Misses 2264 2261 -3
Partials 4 4 ☔ View full report in Codecov by Harness. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit a9304fc. Configure here.
| p-4; | ||
|
|
||
| & > code { | ||
| code { |
There was a problem hiding this comment.
Incomplete nested code selector update
Medium Severity
The PR widens .content code styles to descendants so a wrapper between pre and code still matches, but the no-line-numbers rule still uses a direct-child > code selector. With that wrapper, short blocks keep line-number padding and counters even when no-line-numbers is set.
Reviewed by Cursor Bugbot for commit a9304fc. Configure here.
📦 Build Size ComparisonSummary
|


Ref: nodejs/doc-kit#951