From 21f421849b7b58571b22c6c25267a683433c88d7 Mon Sep 17 00:00:00 2001 From: Joshua Li Date: Fri, 13 Sep 2024 12:32:44 -0700 Subject: [PATCH] fix(discover): truncate height of table cell (#7178) * fix(discover): truncate height of table cell Signed-off-by: Joshua Li * Changeset file for PR #7178 created/updated --------- Signed-off-by: Joshua Li Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> --- changelogs/fragments/7178.yml | 2 ++ .../components/default_discover_table/table_cell.tsx | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/7178.yml diff --git a/changelogs/fragments/7178.yml b/changelogs/fragments/7178.yml new file mode 100644 index 000000000000..ebeadc63249a --- /dev/null +++ b/changelogs/fragments/7178.yml @@ -0,0 +1,2 @@ +fix: +- Truncate height of table cell in legacy discover ([#7178](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7178)) \ No newline at end of file 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 2b3a489b513b..ad80abe07e83 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 @@ -85,7 +85,7 @@ const TableCellUI = ({ data-test-subj="docTableField" className="osdDocTableCell eui-textBreakAll eui-textBreakWord" > -
{content}
+
{content}
); };