From ca0b701370a1eebe6128bb57224242c95c525996 Mon Sep 17 00:00:00 2001 From: Panos Christophides Date: Wed, 1 Mar 2023 11:56:40 +0200 Subject: [PATCH] remove redundant bg from icon and move search icon from right to left --- src/components/input/use-input-styles.js | 1 - src/components/tableV2/features/globalControls.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/input/use-input-styles.js b/src/components/input/use-input-styles.js index 1b66670b8..060c27db6 100644 --- a/src/components/input/use-input-styles.js +++ b/src/components/input/use-input-styles.js @@ -63,7 +63,6 @@ const useInputStyles = ({ size = "large", disabled, success, error, focused }) = ({ iconRight = false, iconLeft = false }) => { return { height: "100%", - background: disabled ? "mainBackgroundDisabled" : "mainBackground", alignItems: "center", round: true, margin: [0, iconRight ? 0 : 2, 0, iconLeft ? 0 : 2], diff --git a/src/components/tableV2/features/globalControls.js b/src/components/tableV2/features/globalControls.js index 4fe56bdc2..7f1cd90ac 100644 --- a/src/components/tableV2/features/globalControls.js +++ b/src/components/tableV2/features/globalControls.js @@ -30,7 +30,7 @@ const GlobalControls = ({ data-testid="table-global-search-filter" data-ga={`${dataGa}::search-${wordsCount}-words::table-filter`} defaultValue={searchValue} - iconRight={} + iconLeft={} onChange={debounce(300, e => { e.persist() handleSearch(e.target.value)