-
Notifications
You must be signed in to change notification settings - Fork 42
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
Fix broken folder variant Tile
layout when name is long
#2378
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets make a patch release right after merging this.
Tile
layout when long nameTile
layout when name is long
I have noticed something similar on regular tiles with long names - do you think this will affect those as well? |
Actually, I don't think there was any problem with regular tiles with large names before this PR. (sandbox). After this PR, it continues to work. Feel free to let me know if I misunderstood your question. |
Here is an example. If the name does not contain spaces, it breaks out of the tile. We work around this by using MiddleTextTruncation, though I'm not sure that is explicitly supported for use by package consumers. https://stackblitz.com/edit/github-h7qvdgke?file=src%2FApp.tsx |
@HaveSpacesuit This is definitely something we should fix. Could you please open a new issue? This PR is not the best place for this discussion. Edit: Cross-linking #2383 |
Changes
Fixes #2376
Adds
min-inline-size: 0
to.iui-tile-name
to prevent the Tile folder variant UI from breaking when there's a long name label.Testing
Docs
Added changesets