Skip to content

Commit

Permalink
[Lens] fix long field name on field stats panel doesn't wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
mbondyra committed Mar 2, 2021
1 parent 84dc217 commit dc0af8c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,9 @@ export function DiscoverField({
anchorPosition="rightUp"
panelClassName="dscSidebarItem__fieldPopoverPanel"
>
<EuiPopoverTitle style={{ textTransform: 'none' }}>{field.displayName}</EuiPopoverTitle>
<EuiPopoverTitle style={{ textTransform: 'none' }} className="eui-textBreakWord">
{field.displayName}
</EuiPopoverTitle>
<EuiTitle size="xxxs">
<h5>
{i18n.translate('discover.fieldChooser.discoverField.fieldTopValuesLabel', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ function FieldPanelHeader({
<EuiFlexGroup alignItems="center" gutterSize="m" responsive={false}>
<EuiFlexItem>
<EuiTitle size="xxs">
<h5 className="lnsFieldItem__fieldPanelTitle">{field.displayName}</h5>
<h5 className="eui-textBreakWord lnsFieldItem__fieldPanelTitle">{field.displayName}</h5>
</EuiTitle>
</EuiFlexItem>

Expand Down

0 comments on commit dc0af8c

Please sign in to comment.