structurizr / ui

UI code for Structurizr Lite, on-premises, and cloud service.
https://docs.structurizr.com/ui
MIT License
43 stars 27 forks source link

Group name with line break renders out of boundaries #64

Open aacebedo opened 5 months ago

aacebedo commented 5 months ago

Description

I would like to have a small description below the group name. The group element does not have a description child so I tried with a line break. This result with the second line being rendered outside the group boundaries.

Steps to reproduce

Create a diagram with provided example

Screenshot

image

Code sample

workspace {
    !identifiers hierarchical

    model {
        properties {
            "structurizr.groupSeparator" "/"
        }

        group "bar\nbaz" {
            foo = softwareSystem "foo" {
            }
        }

    }

    views {
        properties {
            structurizr.metadata false
        }
        systemLandscape softwareSystem "Foo" {
            include *
        }
    }
}

Configuration

No response

Severity

Minor

Priority

I have no budget and there's no rush, please fix this for free

More information

No response