summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/SearchForm.js14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/components/SearchForm.js b/src/components/SearchForm.js
index 1150dec..a96c351 100644
--- a/src/components/SearchForm.js
+++ b/src/components/SearchForm.js
@@ -58,9 +58,17 @@ class SearchForm extends React.Component {
InputProps={{
endAdornment: (
<InputAdornment position="end">
- <IconButton onClick={this.clearSearch}>
- {this.state.value !== "" && <ClearIcon />}
- </IconButton>
+ {this.state.value !== "" && (
+ <IconButton
+ onClick={this.clearSearch}
+ sx={{
+ backgroundColor:
+ "inherit !important"
+ }}
+ >
+ <ClearIcon />
+ </IconButton>
+ )}
</InputAdornment>
)
}}