infor-design / enterprise

Enterprise-grade component library for the Infor Design System
https://design.infor.com
Apache License 2.0
133 stars 81 forks source link

Breadcrumbs: Change wrapping behavior for long lines #5820

Closed pooBadiger closed 1 year ago

pooBadiger commented 2 years ago

Describe the Issue We are using breadcrumbs feature. Our application allows 255 characters length for folder name. I could see a long space taken after a separator ( / ) for a longer name/breadcrumb item.

To Reproduce Steps to see the behavior:

  1. Go to https://design.infor.com/code/ids-enterprise/latest/demo/components/breadcrumb/example-index?theme=uplift&variant=light
    and try editing the last breadcrumb item.
  2. We can see the breadcrumb item moving to next line leaving a long space after the separator.

Expected behavior The long breadcrumb item should start right after the separator no matter how long the name is. And it can break into next line when it exceeds the limit (other half of the text) .

What did you try so far Played around display property on ol tag with flex , it does help but it disturbs the separator styling.

Version ids-enterprise-ng: 10.6.3

Screenshots 2021-11-04_14h36_22

Platform

Additional Context This issue was discussed in the channel first. Please note that we have used only css styling classes like breadcrumb-list, breadcrumb in our application , not the whole component and its properties.

tmcconechy commented 2 years ago

Ideal this should be done with css. If thats not possible we should discuss if its worth fixing or not.

pooBadiger commented 2 years ago

I tried with CSS, but no luck! Let me know if you can solve this :)

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.