From aa357ff93897e651f6c510fe8f5b8c9cf12bc094 Mon Sep 17 00:00:00 2001 From: Melissa Alvarez Date: Thu, 8 Oct 2020 12:05:14 -0600 Subject: [PATCH 1/2] overwrite css capitalization of boolean schema columns --- .../ml/public/application/components/data_grid/data_grid.scss | 4 ++++ .../ml/public/application/components/data_grid/data_grid.tsx | 1 + 2 files changed, 5 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..03660ae490cc6 --- /dev/null +++ b/x-pack/plugins/ml/public/application/components/data_grid/data_grid.scss @@ -0,0 +1,4 @@ +div.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'; From be1aab8bc62955a82be456d1a4552e8696ee1188 Mon Sep 17 00:00:00 2001 From: Melissa Alvarez Date: Thu, 8 Oct 2020 15:20:42 -0600 Subject: [PATCH 2/2] update css --- .../public/application/components/data_grid/data_grid.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 index 03660ae490cc6..2e2f4e7af0a25 100644 --- 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 @@ -1,4 +1,6 @@ -div.mlDataGrid .euiDataGridRowCell--boolean { - text-transform: none; +.mlDataGrid { + .euiDataGridRowCell--boolean { + text-transform: none; + } }