Conversation
Adds targeted CSS resets for `p`, `span`, and `div` elements inside `.mermaid-diagram` to override global `#markdown-preview p` styling (which applied excessive line-height and margins). This ensures text nodes exactly fit the bounding box calculated by Mermaid during render. Co-authored-by: PrakharMNNIT <73683289+PrakharMNNIT@users.noreply.github.com>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (13)
📝 WalkthroughWalkthroughThis pull request refactors code formatting throughout the codebase, simplifies admonition rendering by replacing SVG icons with emojis, enhances LinkNavigationService with cache error handling and history size management, normalizes path handling with slash collapsing, removes Mermaid configuration options, and updates corresponding tests to reflect these changes. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~22 minutes Possibly related PRs
Poem
✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Adds targeted CSS resets for
p,span, anddivelements inside.mermaid-diagramto override global#markdown-preview pstyling (which applied excessive line-height and margins). This ensures text nodes exactly fit the bounding box calculated by Mermaid during render.Summary by CodeRabbit
Release Notes
Bug Fixes
Style