diff --git a/src/plugins/discover/public/application/components/default_discover_table/_table_cell.scss b/src/plugins/discover/public/application/components/default_discover_table/_table_cell.scss index e87c3e62ae1f..71f2066279cd 100644 --- a/src/plugins/discover/public/application/components/default_discover_table/_table_cell.scss +++ b/src/plugins/discover/public/application/components/default_discover_table/_table_cell.scss @@ -95,3 +95,7 @@ font-size: inherit !important; } } + +.osdDocTableCell__dataField { + white-space: pre-wrap; +} diff --git a/src/plugins/discover/public/application/components/default_discover_table/table_cell.tsx b/src/plugins/discover/public/application/components/default_discover_table/table_cell.tsx index faebb3f78fd2..cfa5d1c5241b 100644 --- a/src/plugins/discover/public/application/components/default_discover_table/table_cell.tsx +++ b/src/plugins/discover/public/application/components/default_discover_table/table_cell.tsx @@ -34,8 +34,11 @@ const TableCellUI = ({ }: TableCellProps) => { const content = ( <> - {/* eslint-disable-next-line react/no-danger */} - +