Skip to content

block-beta column span is not taking full width of the block #6316

Open
@criyle

Description

@criyle

Description

The block-beta that has a node spanning multiple columns is not able to take full width of the column, but only the width of one column.

Steps to reproduce

For

block-beta
  columns 5
  a["really looooooooooooooooooooooooooooooog title"]:5
  b c d e f 

produces

block-beta
  columns 5
  a["really looooooooooooooooooooooooooooooog title"]:5
  b c d e f 
Loading

Expected (work around)

block-beta
  columns 5
  block:group1:5
  a["really looooooooooooooooooooooooooooooog title"]
  end
  b c d e f 
block-beta
  columns 5
  block:group1:5
  a["really looooooooooooooooooooooooooooooog title"]
  end
  b c d e f 
Loading

Screenshots

Image

expected (without the outer block box)
Image

Code Sample


Setup

  • Mermaid version: GitHub, ^11.4.1
  • Browser and Version: Chrome 133

Suggested Solutions

Make width calculation consider the column span of the element

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: TriageNeeds to be verified, categorized, etcType: Bug / ErrorSomething isn't working or is incorrect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions