fix(md-render): inline code inherits heading size in mothership/templates/changelog#4504
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
PR SummaryLow Risk Overview Also aligns inline code styling by adding Reviewed by Cursor Bugbot for commit 1f951cb. Configure here. |
️✅ There are no secrets present in this pull request anymore.If these secrets were true positive and are still valid, we highly recommend you to revoke them. 🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request. |
Greptile SummaryThis PR removes hardcoded
Confidence Score: 5/5Safe to merge — pure Tailwind class swap with no logic changes, consistently mirroring the file-viewer fix already in production. All three changes are identical in nature: removing a hardcoded font-size class and adding No files in this PR require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Markdown Renderer] --> B{Component type?}
B -->|inlineCode| C[code element]
C --> D[Old: hardcoded text-xs / text-small]
C --> E[New: inherits parent font-size]
E --> F[whitespace-normal]
E --> G[not-italic]
E --> H[No font-size override → inherits heading size]
subgraph Locations Fixed
L1[chat-content.tsx mothership / copilot]
L2[template.tsx template detail page]
L3[timeline-list.tsx changelog]
end
subgraph Still Uses text-xs
L4[note-block.tsx note block renderer]
end
Reviews (2): Last reviewed commit: "fix(md-render): inline code inherits hea..." | Re-trigger Greptile |
263ecf9 to
1f951cb
Compare
|
@greptile |
|
@cursor review |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 1f951cb. Configure here.
Summary
text-small/text-xsoninlineCodein mothership chat (also covers copilot side panel), template detail page, and changelog renderer so inline code inherits the surrounding heading sizewhitespace-normalandnot-italicto mirror the file-viewer fix from fix(md-render): fix markdown rendering in file viewer #4458Type of Change
Testing
Tested manually —
setstatein mothership chat headings now matches header sizeChecklist