Is your feature request related to a problem? Please describe.
In Kibana we'd like to increase the max-width of the first breadcrumb before it is truncated. The default max-width is pretty short and this is user generated title we don't have control over.
elastic/kibana#170758.
Currently the truncation max-width is static 160px
|
isTruncated: css` |
|
${euiTextTruncate(mathWithUnits(euiTheme.size.base, (x) => x * 10))} |
|
`, |
We don't want to disable truncation completely
Describe the solution you'd like
Expose a maxWidth prop on EUIBreadcrumb
Describe alternatives you've considered
I think we could hack it with css on Kibana side
Desired timeline
If this doesn't look like a short term fix, please let us know, we could override with css short term.
Additional context
In case you'd have any other suggestions, would love to consider them
Is your feature request related to a problem? Please describe.
In Kibana we'd like to increase the max-width of the first breadcrumb before it is truncated. The default max-width is pretty short and this is user generated title we don't have control over.
elastic/kibana#170758.
Currently the truncation max-width is static 160px
eui/src/components/breadcrumbs/breadcrumb.styles.ts
Lines 74 to 76 in 9c891fa
We don't want to disable truncation completely
Describe the solution you'd like
Expose a
maxWidthprop onEUIBreadcrumbDescribe alternatives you've considered
I think we could hack it with css on Kibana side
Desired timeline
If this doesn't look like a short term fix, please let us know, we could override with css short term.
Additional context
In case you'd have any other suggestions, would love to consider them