diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_control.tsx b/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_control.tsx index 38d3a54412885..ebb5458478531 100644 --- a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_control.tsx +++ b/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_control.tsx @@ -15,8 +15,8 @@ import { EuiFilterGroup, EuiFlexGroup, EuiFlexItem, - EuiIcon, EuiInputPopover, + EuiToken, EuiToolTip, htmlIdGenerator, } from '@elastic/eui'; @@ -121,15 +121,18 @@ export const OptionsListControl = ({ )} delay="long" > - diff --git a/src/plugins/controls/public/controls/data_controls/range_slider/components/range_slider.styles.ts b/src/plugins/controls/public/controls/data_controls/range_slider/components/range_slider.styles.ts index 848449509b1b8..384b79d103f9b 100644 --- a/src/plugins/controls/public/controls/data_controls/range_slider/components/range_slider.styles.ts +++ b/src/plugins/controls/public/controls/data_controls/range_slider/components/range_slider.styles.ts @@ -30,6 +30,7 @@ export const rangeSliderControlStyles = (euiThemeContext: UseEuiTheme) => { } .euiFormControlLayout { + background-color: transparent; border: none; border-radius: 0; } @@ -50,6 +51,11 @@ export const rangeSliderControlStyles = (euiThemeContext: UseEuiTheme) => { &:has(input:invalid) { --euiFormControlStateColor: ${euiTheme.colors.danger}; } + + /* Remove the append background so the caution icon looks more natural */ + .euiFormControlLayout__append { + background-color: transparent; + } `, // Inputs diff --git a/src/plugins/controls/public/controls/data_controls/range_slider/components/range_slider_control.tsx b/src/plugins/controls/public/controls/data_controls/range_slider/components/range_slider_control.tsx index d371c18b4c360..a05957d083086 100644 --- a/src/plugins/controls/public/controls/data_controls/range_slider/components/range_slider_control.tsx +++ b/src/plugins/controls/public/controls/data_controls/range_slider/components/range_slider_control.tsx @@ -13,9 +13,9 @@ import { EuiRangeTick, EuiDualRange, EuiDualRangeProps, + EuiToken, EuiToolTip, useEuiTheme, - EuiIcon, } from '@elastic/eui'; import { RangeValue } from '../types'; import { MIN_POPOVER_WIDTH } from '../../../constants'; @@ -212,11 +212,13 @@ export const RangeSliderControl: FC = ({ content={RangeSliderStrings.control.getInvalidSelectionWarningLabel()} delay="long" > -