-
Notifications
You must be signed in to change notification settings - Fork 117
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
Flowchart text overflow at non-zero zoom level #97
Comments
I'm at zero (reset) zoom level and seeing text overflow on stateDiagram-v2 when using descriptions like |
I'm facing the same issue when having windows' display scaling set to something other than 100% (125% in my case). |
possibly related to #89 |
@mrchantey you're right |
same problem can be found on another extension, mermaid preview. Its possible the problem has to do with how vs code is handling html rendering. |
Please share the text of a diagram that demonstrates the issue |
I've noticed when I open a preview of markdown (containing a flow chart) at non-zero zoom level, the text overflows.
I can fix the issue by closing the preview, going back to zero zoom level, and re-opening the preview. Then I can zoom back in and the text is not overflowed.
But as soon as the preview is refreshed (by visiting a different markdown, or hitting refresh), the preview is re-rendered with text overflow again.
I tried changing the default zoom config with
window.zoomLevel
, but I get the same results.The text was updated successfully, but these errors were encountered: