Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
przytrzask opened this issue Feb 24, 2023 · 0 comments
Open

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

przytrzask opened this issue Feb 24, 2023 · 0 comments
Assignees

Comments

@przytrzask
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants