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

Disproportional block width changes (without need to do so) #5659

Open
Nears opened this issue Jul 22, 2024 · 0 comments
Open

Disproportional block width changes (without need to do so) #5659

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

Comments

@Nears
Copy link

Nears commented Jul 22, 2024

Description

When I extend my code by adding a "block" segment the already available blocks do rezise in width in an unneeded amount of pixles.

When I extend my lable by adding one signle letter the already available blocks do rezise in width in a disproportional way.

Steps to reproduce

  1. Start with Code-Step 1 below
  2. Change to Code-Step 2 below
    => see the block increasing even if not needed. Expectation would be that the block width relates to the tex
  3. Change to Code-Step 3 below
    => see the block increasing disproportional even if only one letter is added. Expectation would be that the block width relates to the text

Screenshots

No response

Code Sample

Code-Step 1:

block-beta
    columns 3
        App1["1"] App2["2"] App3["3"]
        MiddleWare["4"]:3
        BaseSW["5"]:3


Code-Step 2:

block-beta
    block
    columns 3
        App1["1"] App2["2"] App3["3"]
        MiddleWare["4"]:3
        BaseSW["5"]:3
    end


Code-Step 3:

block-beta
    block
    columns 3
        App1["1"] App2["2"] App3["3"]
        MiddleWare["4"]:3
        BaseSW["55"]:3
    end

Setup

Tested within Visual Studio Code + Mermaid plugin and in latest dev-live editor.

Suggested Solutions

Limit the block size to the size which is needed to hold the text/label.

Additional Context

No response

@Nears Nears added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Jul 22, 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