Skip to content

Bug - Label text doesn't wrap #2594

@MichaelDalrymple

Description

@MichaelDalrymple

Hello GCWeb people (one more time),

Another bug we've caught is that labels don't wrap, at all. So if they are above a certain character count or if they are inside of a table cell, they will just push everything over. See photos attached.

We have a found a CSS solution to fix this, although it may not be perfect as if you put two labels next to each other, the spacing between them disappears. Although I'm sure there's a solution to this too, we just haven't made it as much of a priority.

Here's a potential CSS fix for this. You can adjust the line-height as you wish if the ratios with other line heights are off. Over to you.

<style> .label { display: inline-block; line-height: 1.2; text-align: left; white-space: inherit; } </style>

Image
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions