diff --git a/src/components/EnhancedSearch.js b/src/components/EnhancedSearch.js index d3d43dc..465b462 100644 --- a/src/components/EnhancedSearch.js +++ b/src/components/EnhancedSearch.js @@ -30,8 +30,11 @@ const styles = theme => ({ }, textField: { flexBasis: 280, - borderColor: "#139657" }, + focused: { + color: '#139657', + backgroundColor: '#139657', + } }); /** @@ -50,18 +53,19 @@ class EnhancedSearch extends Component {
onUpdateQuery(event.target.value)} - InputProps={{ - startAdornment: , - }} - /> + value={query} + onChange={(event) => onUpdateQuery(event.target.value)} + InputProps={{ + startAdornment: , + }} + />
{this.props.showSearchColumns && this.props.columns.map(column => (
); - }; + } } // Type checking the props of the component diff --git a/src/components/pages/MerchantsPage.css b/src/components/pages/MerchantsPage.css new file mode 100644 index 0000000..597bd5a --- /dev/null +++ b/src/components/pages/MerchantsPage.css @@ -0,0 +1,3 @@ +.MuiFormLabel-root-82.MuiFormLabel-focused-83 { + color: #139657 +} diff --git a/src/components/pages/MerchantsPage.js b/src/components/pages/MerchantsPage.js index 54b6315..be4cbf2 100644 --- a/src/components/pages/MerchantsPage.js +++ b/src/components/pages/MerchantsPage.js @@ -19,6 +19,8 @@ import Countries from 'country-list'; import LoadingGif from '../../assets/img/loading_icon.gif'; import MerchantPin from '../../assets/img/map/merchant_pin.png'; +import "./MerchantsPage.css"; + // List of countries const countries = Countries();