Use code.regular.small for pre in table cells - #3353
Merged
enf0rc3 merged 1 commit intoAug 13, 2026
Merged
Conversation
The table rule only matched <code>, so a bare <pre> in a cell kept the medium code size. Widened the selector to cover both. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
Pull request environment is available at https://stoctodocspr3353.z22.web.core.windows.net. You can view the ephemeral environment status in Octopus Deploy. This environment will be automatically deprovisioned when the pull request is closed, or after 7 days of inactivity. |
borland
approved these changes
Aug 13, 2026
enf0rc3
deleted the
willlaugesen/dpt-3123-fix-css-class-for-code-elements-in-tables
branch
August 13, 2026 22:54
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes DPT-3123.
Inline
<code>in tables already usedtext.code.regular.small(added in #3311). A bare<pre>in a table cell was missed by that selector and kept the medium code size, and a fenced block in a cell would have shrunk its<code>inside an unchanged wrapper. The selector now covers both.Verified on permissions, whose table has both: inline code and the
<pre>cell both compute to 13px/20px (the<pre>was 14px before).before:
permissions
After:
permissions
🤖 Generated with Claude Code