Eui: EuiBreadcrumbs centers last breadcrumb, creating awkward spacing when text is short

Created on 23 Apr 2019  路  2Comments  路  Source: elastic/eui

image

I haven't dug into this but possibly we just need to override text-align here? https://github.com/elastic/eui/blob/master/src/components/breadcrumbs/_breadcrumbs.scss#L93

Not sure what the impact would be when the last breadcrumb is longer and gets truncated.

designer bug good first issue style only

Most helpful comment

@cchaos I'm happy to take this one on.

All 2 comments

It's actually a min-width that's been applied to every breadcrumb that is creating this issue. We were just discussing breadcrumbs the other day and I brought up the min-width issue and none of us can remember exactly why it was necessary. Will look into.

@cchaos I'm happy to take this one on.

Was this page helpful?
0 / 5 - 0 ratings