Skip to content

[metric] Medium and long text in metric is cut #2213

@mbondyra

Description

@mbondyra

Lens issue: elastic/kibana#169505 (comment)

Screenshot 2023-10-23 at 09 47 48 Screenshot 2023-10-23 at 09 47 08

While the secondary metric can go multiline, the primary metric has a no-wrap policy for the CSS white-space property.

I've tried to quickly check what would happen without that nowrap thing but it introduces other issues:

Screenshot 2023-10-23 at 09 48 20 Screenshot 2023-10-23 at 09 48 05

Originally posted by @dej611 in elastic/kibana#169258 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    :metricRelated to Metric chartbugSomething isn't workingneeds designA design pass is required and not available

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions