Skip to content

Commit

Permalink
fix: use xs buttons for discover table cell filter buttons (#7531) (#…
Browse files Browse the repository at this point in the history
…7539)

(cherry picked from commit 8441667)

Signed-off-by: Viraj Sanghvi <virajs@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Viraj Sanghvi <virajs@amazon.com>
  • Loading branch information
3 people committed Jul 29, 2024
1 parent e7bbab6 commit 33be20a
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import './_table_cell.scss';

import React from 'react';
import { EuiSmallButtonIcon, EuiToolTip } from '@elastic/eui';
import { EuiButtonIcon, EuiToolTip } from '@elastic/eui';
import { i18n } from '@osd/i18n';
import { DocViewFilterFn } from '../../doc_views/doc_views_types';

Expand Down Expand Up @@ -45,7 +45,8 @@ const TableCellUI = ({
defaultMessage: 'Filter for value',
})}
>
<EuiSmallButtonIcon
<EuiButtonIcon
size="xs"
onClick={() => onFilter?.(columnId, fieldMapping, '+')}
iconType="plusInCircle"
aria-label={i18n.translate('discover.filterForValueLabel', {
Expand All @@ -60,7 +61,8 @@ const TableCellUI = ({
defaultMessage: 'Filter out value',
})}
>
<EuiSmallButtonIcon
<EuiButtonIcon
size="xs"
onClick={() => onFilter?.(columnId, fieldMapping, '-')}
iconType="minusInCircle"
aria-label={i18n.translate('discover.filterOutValueLabel', {
Expand Down

0 comments on commit 33be20a

Please sign in to comment.