From a1b84e1c570763c02bbdb6f2d5cfcd1d4d5ba641 Mon Sep 17 00:00:00 2001 From: Julia Rechkunova Date: Thu, 21 Dec 2023 11:19:25 +0100 Subject: [PATCH] [Discover] Adjust timestamp column header --- .../src/components/data_table_columns.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/kbn-unified-data-table/src/components/data_table_columns.tsx b/packages/kbn-unified-data-table/src/components/data_table_columns.tsx index f7a3d41bf330..ebe86be25e0a 100644 --- a/packages/kbn-unified-data-table/src/components/data_table_columns.tsx +++ b/packages/kbn-unified-data-table/src/components/data_table_columns.tsx @@ -15,6 +15,7 @@ import { EuiScreenReaderOnly, EuiToolTip, } from '@elastic/eui'; +import { css } from '@emotion/react'; import type { DataView } from '@kbn/data-views-plugin/public'; import { ToastsStart, IUiSettingsClient } from '@kbn/core/public'; import { DocViewFilterFn } from '@kbn/unified-doc-viewer/types'; @@ -189,7 +190,12 @@ function buildEuiGridColumn({ }); column.display = ( -
+
<> {timeFieldName}