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

Long labels in <sl-tree-item> get truncated #1243

Closed
claviska opened this issue Mar 14, 2023 · 0 comments
Closed

Long labels in <sl-tree-item> get truncated #1243

claviska opened this issue Mar 14, 2023 · 0 comments
Assignees
Labels
bug Things that aren't working right in the library.

Comments

@claviska
Copy link
Member

From Discord:

Hi, I'm using a within a container with smaller width. Therefore sometimes the text of a overlaps beyond the container. This also happens on the Shoelace website when assigning longer text to an item.
Is there any way that I can force a line break between words within a tree item's text, maybe using a CSS part?
I have already tried this with overflow-wrap etc., but unfortunately without success.

https://discord.com/channels/739437527907303535/1084223931076051055/1084927607482617876

@claviska claviska added the bug Things that aren't working right in the library. label Mar 14, 2023
@claviska claviska self-assigned this Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Things that aren't working right in the library.
Projects
None yet
Development

No branches or pull requests

1 participant