Skip to content

Commit 57125da

Browse files
christophidespPanos Christophides
andauthored
remove redundant bg from icon and move search icon from right to left (#446)
Co-authored-by: Panos Christophides <panos@netdata.cloud>
1 parent 585deb7 commit 57125da

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/components/input/use-input-styles.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ const useInputStyles = ({ size = "large", disabled, success, error, focused }) =
6363
({ iconRight = false, iconLeft = false }) => {
6464
return {
6565
height: "100%",
66-
background: disabled ? "mainBackgroundDisabled" : "mainBackground",
6766
alignItems: "center",
6867
round: true,
6968
margin: [0, iconRight ? 0 : 2, 0, iconLeft ? 0 : 2],

src/components/tableV2/features/globalControls.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const GlobalControls = ({
3030
data-testid="table-global-search-filter"
3131
data-ga={`${dataGa}::search-${wordsCount}-words::table-filter`}
3232
defaultValue={searchValue}
33-
iconRight={<Icon name="magnify" color="textLite" />}
33+
iconLeft={<Icon name="magnify" color="textLite" />}
3434
onChange={debounce(300, e => {
3535
e.persist()
3636
handleSearch(e.target.value)

0 commit comments

Comments
 (0)