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

Labels are trimmed in class diagrams #4083

Closed
sidharthv96 opened this issue Feb 13, 2023 · 1 comment · Fixed by #4915
Closed

Labels are trimmed in class diagrams #4083

sidharthv96 opened this issue Feb 13, 2023 · 1 comment · Fixed by #4915
Labels
Contributor needed Good first issue! Graph: Class Status: Approved Is ready to be worked on Type: Bug / Error Something isn't working or is incorrect

Comments

@sidharthv96
Copy link
Member

Description

The number values, 1 is trimmed in class diagram.

Steps to reproduce

Open https://mermaid.js.org/syntax/classDiagram.html#setting-the-direction-of-the-diagram

Screenshots

image

Code Sample

No response

Setup

Desktop

  • OS and Version: [Windows, Linux, Mac, ...]
  • Browser and Version: [Chrome, Edge, Firefox]

Smartphone

  • Device: [Samsung, iPhone, ...]
  • OS and Version: [Android, iOS, ...]
  • Browser and Version: [Chrome, Safari, ...]

Additional Context

No response

@sidharthv96 sidharthv96 added Type: Bug / Error Something isn't working or is incorrect Status: Triage Needs to be verified, categorized, etc labels Feb 13, 2023
@jgreywolf jgreywolf added Contributor needed Status: Approved Is ready to be worked on Graph: Class Good first issue! and removed Status: Triage Needs to be verified, categorized, etc labels Mar 17, 2023
@subhash-halder
Copy link
Contributor

@sidharthv96 I think the bug is in the website not in the SVG as it is working fine in the live editor.
Changing the line-height: 24px; to line-height: inherit; in the body of the website will fix the issue, don't know if it will affect any other part of the website.

@jgreywolf jgreywolf added roadmap items to add to roadmap for auto workflow and removed roadmap items to add to roadmap for auto workflow labels Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Contributor needed Good first issue! Graph: Class Status: Approved Is ready to be worked on Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants