review comments

This commit is contained in:
Jonathan Rainville 2018-10-17 09:40:22 -04:00 committed by Pascal Precht
parent 5cfe208f6f
commit 29ec199195
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D
3 changed files with 2 additions and 6 deletions

View File

@ -1,6 +1,6 @@
import PropTypes from "prop-types";
import React from 'react';
import connect from "react-redux/es/connect/connect";
import {connect} from 'react-redux';
import {Route, Switch, withRouter} from 'react-router-dom';
import {explorerSearch} from "../actions";
import {searchResult} from "../reducers/selectors";

View File

@ -35,7 +35,7 @@ class SearchBar extends React.Component {
return (
<Row>
<Col>
<Form inline className="search-bar float-right">
<Form inline className="search-bar float-right my-2">
<FormGroup>
<Input type="text" name="search-bar" placeholder="Search" onChange={(e) => this.onChange(e)}
value={this.state.searchValue} onKeyPress={e => this.onKeyPress(e)}/>

View File

@ -1,7 +1,3 @@
.search-bar {
margin: 10px 0;
}
.search-bar input {
border-top-right-radius: 0;
border-bottom-right-radius: 0;