-
Notifications
You must be signed in to change notification settings - Fork 3.6k
fix: update MermaidBlock styles for improved rendering and add foreignObject #7960
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…nObject width Co-authored-by: lixiaoyang1992 <[email protected]>
💡 To request a new review, comment |
AI Code ReviewAI review failed due to service initialization issues. Please check the Continue API key and configuration. No specific line comments generated. 💡 To request a new detailed review, comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 2 files
🎉 This PR is included in version 1.22.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.21.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Actual author @lixiaoyang1992, see
#7599
Reopening here since stale with @lixiaoyang1992 as coauthor
Fixes some mermaid styling
Summary by cubic
Improves Mermaid diagram rendering by wrapping the diagram with a .mermaid container and setting foreignObject elements to full width. Prevents clipping and ensures consistent layout.