Breadcrumbs.Item with a long name will be out of the screen
Describe the bug
As you may see in screenshots section that if we're using a long name for Breadcrumb.Item then it's out of the screen. The case of using long names in breadcrumbs is article name with a long title.
To Reproduce
Steps to reproduce the behavior:
- Just add a long text in Breadcrumb.Item
- And change size of the window to small one
Expected behavior
Text is not running out of the screen
Screenshots
Desktop
- OS: Mac OS
- Browser Safari
- Version 14.0.3
Additional context
If you have any ideas how we can fix it then I'll be happy to do PR.
I've tried to add white-space: break-spaces rule. It works except the thing that '/' element is always at the end of line.
Another idea is to change the way how '/' is added between elements. Instead of using :after we can add this as component while mapping elements here but I haven't tried this yet.
Added to our backlog. Thank you!
cc @vdepizzol @ashygee for design input on how we should handle long breadcrumbs
Sorry for the late reply @colebemis! I am going to add this to our Breadcrumbs tracking issue.
Hi! This issue has been marked as stale because it has been open with no activity for 180 days. You can comment on the issue or remove the stale label to keep it open. If you do nothing, this issue will be closed in 7 days.