From 84b3cf09871f4e081e0066db5c59e18a8eee929f Mon Sep 17 00:00:00 2001 From: Adam Tackett <105462877+TackAdam@users.noreply.github.com> Date: Wed, 11 Sep 2024 16:53:01 -0700 Subject: [PATCH] [discover ]Adjust icon size to fix spacing in action table (#8143) Signed-off-by: Adam Tackett Co-authored-by: Adam Tackett --- .../components/table/table_row_btn_filter_add.tsx | 5 +++-- .../components/table/table_row_btn_filter_exists.tsx | 5 +++-- .../components/table/table_row_btn_filter_remove.tsx | 5 +++-- .../components/table/table_row_btn_toggle_column.tsx | 8 +++++--- 4 files changed, 14 insertions(+), 9 deletions(-) diff --git a/src/plugins/discover/public/application/components/table/table_row_btn_filter_add.tsx b/src/plugins/discover/public/application/components/table/table_row_btn_filter_add.tsx index 3e8eb7a83630..4e44c7bd89ea 100644 --- a/src/plugins/discover/public/application/components/table/table_row_btn_filter_add.tsx +++ b/src/plugins/discover/public/application/components/table/table_row_btn_filter_add.tsx @@ -30,7 +30,7 @@ import React from 'react'; import { FormattedMessage } from '@osd/i18n/react'; -import { EuiToolTip, EuiSmallButtonIcon } from '@elastic/eui'; +import { EuiToolTip, EuiButtonIcon } from '@elastic/eui'; import { i18n } from '@osd/i18n'; export interface Props { @@ -53,7 +53,7 @@ export function DocViewTableRowBtnFilterAdd({ onClick, disabled = false }: Props return ( - ); diff --git a/src/plugins/discover/public/application/components/table/table_row_btn_filter_exists.tsx b/src/plugins/discover/public/application/components/table/table_row_btn_filter_exists.tsx index 216e61b8f9d8..d5fa533804cc 100644 --- a/src/plugins/discover/public/application/components/table/table_row_btn_filter_exists.tsx +++ b/src/plugins/discover/public/application/components/table/table_row_btn_filter_exists.tsx @@ -30,7 +30,7 @@ import React from 'react'; import { FormattedMessage } from '@osd/i18n/react'; -import { EuiToolTip, EuiSmallButtonIcon } from '@elastic/eui'; +import { EuiToolTip, EuiButtonIcon } from '@elastic/eui'; import { i18n } from '@osd/i18n'; export interface Props { @@ -65,7 +65,7 @@ export function DocViewTableRowBtnFilterExists({ return ( - ); diff --git a/src/plugins/discover/public/application/components/table/table_row_btn_filter_remove.tsx b/src/plugins/discover/public/application/components/table/table_row_btn_filter_remove.tsx index 9277419bd38c..0aa4bd0b059a 100644 --- a/src/plugins/discover/public/application/components/table/table_row_btn_filter_remove.tsx +++ b/src/plugins/discover/public/application/components/table/table_row_btn_filter_remove.tsx @@ -30,7 +30,7 @@ import React from 'react'; import { FormattedMessage } from '@osd/i18n/react'; -import { EuiToolTip, EuiSmallButtonIcon } from '@elastic/eui'; +import { EuiToolTip, EuiButtonIcon } from '@elastic/eui'; import { i18n } from '@osd/i18n'; export interface Props { @@ -53,7 +53,7 @@ export function DocViewTableRowBtnFilterRemove({ onClick, disabled = false }: Pr return ( - ); diff --git a/src/plugins/discover/public/application/components/table/table_row_btn_toggle_column.tsx b/src/plugins/discover/public/application/components/table/table_row_btn_toggle_column.tsx index 45dc37d3c5dc..87f45900247c 100644 --- a/src/plugins/discover/public/application/components/table/table_row_btn_toggle_column.tsx +++ b/src/plugins/discover/public/application/components/table/table_row_btn_toggle_column.tsx @@ -30,7 +30,7 @@ import React from 'react'; import { FormattedMessage } from '@osd/i18n/react'; -import { EuiToolTip, EuiSmallButtonIcon } from '@elastic/eui'; +import { EuiToolTip, EuiButtonIcon } from '@elastic/eui'; import { i18n } from '@osd/i18n'; export interface Props { @@ -42,7 +42,7 @@ export interface Props { export function DocViewTableRowBtnToggleColumn({ onClick, active, disabled = false }: Props) { if (disabled) { return ( - ); } @@ -63,7 +64,7 @@ export function DocViewTableRowBtnToggleColumn({ onClick, active, disabled = fal /> } > - );