From e858cbc4c8bbc22ab361626b38d6bf1968ba5f06 Mon Sep 17 00:00:00 2001 From: Melissa Alvarez Date: Mon, 12 Oct 2020 21:01:46 -0400 Subject: [PATCH] [ML] Datagrid: Ensure column content with 'boolean' schema is not capitalized (#80041) * overwrite css capitalization of boolean schema columns * update css --- .../public/application/components/data_grid/data_grid.scss | 6 ++++++ .../public/application/components/data_grid/data_grid.tsx | 1 + 2 files changed, 7 insertions(+) create mode 100644 x-pack/plugins/ml/public/application/components/data_grid/data_grid.scss diff --git a/x-pack/plugins/ml/public/application/components/data_grid/data_grid.scss b/x-pack/plugins/ml/public/application/components/data_grid/data_grid.scss new file mode 100644 index 0000000000000..2e2f4e7af0a25 --- /dev/null +++ b/x-pack/plugins/ml/public/application/components/data_grid/data_grid.scss @@ -0,0 +1,6 @@ +.mlDataGrid { + .euiDataGridRowCell--boolean { + text-transform: none; + } +} + diff --git a/x-pack/plugins/ml/public/application/components/data_grid/data_grid.tsx b/x-pack/plugins/ml/public/application/components/data_grid/data_grid.tsx index f613c5fdb3450..fad2439f5d5ee 100644 --- a/x-pack/plugins/ml/public/application/components/data_grid/data_grid.tsx +++ b/x-pack/plugins/ml/public/application/components/data_grid/data_grid.tsx @@ -34,6 +34,7 @@ import { TopClasses } from '../../../../common/types/feature_importance'; import { DEFAULT_RESULTS_FIELD } from '../../../../common/constants/data_frame_analytics'; import { DataFrameAnalysisConfigType } from '../../../../common/types/data_frame_analytics'; +import './data_grid.scss'; // TODO Fix row hovering + bar highlighting // import { hoveredRow$ } from './column_chart';