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

Line breaks in long strings #204

Closed
rogerok opened this issue Dec 26, 2023 · 2 comments
Closed

Line breaks in long strings #204

rogerok opened this issue Dec 26, 2023 · 2 comments

Comments

@rogerok
Copy link

rogerok commented Dec 26, 2023

Hi, how i can handle line breaks in long string?
Now, if add css rule 'white-space: pre-wrap', then layout breaks.
image

@jameskerr
Copy link
Member

I usually do

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

@smorodin-it
Copy link

Same issue here. PM want to see whole label. Any suggestion to how I can break for two lines, and fix a layout issue as from screenshot above?

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

No branches or pull requests

3 participants