mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 14:24:24 +00:00
review comments
This commit is contained in:
parent
5cfe208f6f
commit
29ec199195
@ -1,6 +1,6 @@
|
|||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
import React from 'react';
|
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 {Route, Switch, withRouter} from 'react-router-dom';
|
||||||
import {explorerSearch} from "../actions";
|
import {explorerSearch} from "../actions";
|
||||||
import {searchResult} from "../reducers/selectors";
|
import {searchResult} from "../reducers/selectors";
|
||||||
|
@ -35,7 +35,7 @@ class SearchBar extends React.Component {
|
|||||||
return (
|
return (
|
||||||
<Row>
|
<Row>
|
||||||
<Col>
|
<Col>
|
||||||
<Form inline className="search-bar float-right">
|
<Form inline className="search-bar float-right my-2">
|
||||||
<FormGroup>
|
<FormGroup>
|
||||||
<Input type="text" name="search-bar" placeholder="Search" onChange={(e) => this.onChange(e)}
|
<Input type="text" name="search-bar" placeholder="Search" onChange={(e) => this.onChange(e)}
|
||||||
value={this.state.searchValue} onKeyPress={e => this.onKeyPress(e)}/>
|
value={this.state.searchValue} onKeyPress={e => this.onKeyPress(e)}/>
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
.search-bar {
|
|
||||||
margin: 10px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.search-bar input {
|
.search-bar input {
|
||||||
border-top-right-radius: 0;
|
border-top-right-radius: 0;
|
||||||
border-bottom-right-radius: 0;
|
border-bottom-right-radius: 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user