diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx b/x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx index 0d7d6b4c480e..5d263135389e 100644 --- a/x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx +++ b/x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx @@ -14,6 +14,8 @@ import { EuiText, EuiButtonIcon, EuiSpacer, + useEuiTheme, + euiScrollBarStyles, } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n-react'; @@ -69,6 +71,7 @@ export const TopValues: FC = ({ data: { fieldFormats }, }, } = useDataVisualizerKibana(); + const euiTheme = useEuiTheme(); if (stats === undefined || !stats.topValues) return null; const { fieldName, sampleCount, approximate } = stats; @@ -169,6 +172,10 @@ export const TopValues: FC = ({ {showSampledValues ? ( @@ -215,6 +222,7 @@ export const TopValues: FC = ({ onAddFilter !== undefined ? (
diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_esql.tsx b/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_esql.tsx index 8e3d48c47c78..d50ee4c8916f 100644 --- a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_esql.tsx +++ b/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_esql.tsx @@ -259,15 +259,25 @@ export const IndexDataVisualizerESQL: FC = (dataVi - + + +