Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -1475,6 +1475,12 @@ const componentStyles = {
'.unifiedDataTable__cell--expanded': {
backgroundColor: euiTheme.colors.backgroundBaseInteractiveSelect,
},
'.euiDataGridRowCell__content--defaultHeight > div': {
maxInlineSize: '100%',
overflow: 'hidden',
textOverflow: 'ellipsis',
whiteSpace: 'nowrap',
},
Comment on lines +1478 to +1483
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like the root cause of the issue may be that we wrap cell contents in a div which defaults to display: block, preventing the EUI styles from being inherited correctly. Instead of redefining the EUI styles here, what if we just change the wrapping element to a span in InTableSearchHighlightsWrapper so the styles are inherited correctly?

I gave it a quick shot locally and it seemed to work as expected.

'.unifiedDataTable__cellValue': {
fontFamily: euiTheme.font.familyCode,
},
Expand Down