Skip to content
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

Toggling light/dark mode breaks mermaid diagrams #11733

Closed
antonpirker opened this issue Nov 5, 2024 · 0 comments · Fixed by #11754
Closed

Toggling light/dark mode breaks mermaid diagrams #11733

antonpirker opened this issue Nov 5, 2024 · 0 comments · Fixed by #11754

Comments

@antonpirker
Copy link
Member

Steps to Reproduce

Expected Result

The mermaid diagram should render with right theme set.

Actual Result

The mermaid component breaks and just prints some CSS.

Additional Info

Thats the code where we set the mermaid theme:

https://github.com/getsentry/sentry-docs/blob/master/src/components/mermaid.tsx#L29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants