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

pie label is cut when width is small. #1862

Closed
yllgl opened this issue Jan 22, 2021 · 0 comments · Fixed by #4288
Closed

pie label is cut when width is small. #1862

yllgl opened this issue Jan 22, 2021 · 0 comments · Fixed by #4288
Labels
Graph: Pie Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@yllgl
Copy link

yllgl commented Jan 22, 2021

Describe the bug
if original width is small, then we only see the pie, but can't see the labels.

To Reproduce
Open mermaid-live-editor , write some pie diagram's codes.
I use Chrome, so I press F12 to change the body's width. Then click the refresh button. Then we can see the pie's label is cut.

Expected behavior
I hope the figure can zoom out to the original width so we can see the label.
For example,
image

Screenshots
If original width is small, then we can't see the labels.
image

Desktop (please complete the following information):

  • OS: win10
  • Browser chrome
  • mermaid Version 8.8.4
@yllgl yllgl added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Graph: Pie Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants