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

Display issue with block-beta diagram #5882

Open
rodcloutier opened this issue Sep 20, 2024 · 0 comments
Open

Display issue with block-beta diagram #5882

rodcloutier opened this issue Sep 20, 2024 · 0 comments
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@rodcloutier
Copy link

Description

When I use a block-beta diagram with nested blocks and a block with a name longer than 2 characters, one of the block is not properly displayed

Steps to reproduce

The following code should display the issue

block-beta
columns 1
    base

    block
    columns 3
      a
      b
      abc
    end
    block
      block
        1
      end
      space
      3
    end
block-beta
columns 1
    base

    block
    columns 3
      a
      b
      abc
    end
    block
      block
        1
      end
      space
      3
    end
Loading

where as the following does not (notice that only the size of the abc block was changed to ab

columns 1
   base

   block
   columns 3
     a
     b
     ab
   end
   block
     block
       1
     end
     space
     3
   end
block-beta
columns 1
  base

  block
  columns 3
    a
    b
    ab
  end
  block
    block
      1
    end
    space
    3
  end
Loading

Screenshots

Screenshot 2024-09-20 at 14 38 58

Code Sample

No response

Setup

  • Mermaid version: Current version used in Github or the Mermaid website.
  • Browser and Version: Firefox, Visual Code Live Markdown preview

Suggested Solutions

No response

Additional Context

No response

@rodcloutier rodcloutier added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

1 participant