WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Label component to Have an option not to trim text #2679

@przytrzask

Description

@przytrzask

Problem

Currently, the Label component trims text after 1 line if text overflows due to those styles

overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

Solution

I would like to have the option to disable cutting text and instead to make the text wrapping

Context

There is a business justification. For example, when cropping text will change the meaning like here
CleanShot 2023-02-24 at 11 29 29@2x

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions