diff --git a/client/src/components/Browse.js b/client/src/components/Browse.js index 1526920c7..2231b1f8b 100644 --- a/client/src/components/Browse.js +++ b/client/src/components/Browse.js @@ -1,11 +1,13 @@ import React from 'react' -import UserList from './UserList'; +import UserList from './UserList' +import CssBaseline from '@material-ui/core/CssBaseline' const Browse = () => { return ( -
- -
+ + + + ) } diff --git a/client/src/components/Search.js b/client/src/components/Search.js index 90f15f758..6a4db3044 100644 --- a/client/src/components/Search.js +++ b/client/src/components/Search.js @@ -1,11 +1,11 @@ import React, { Component } from 'react' import UserSearch from './UserSearch' import {compose} from 'react-apollo' +import CssBaseline from '@material-ui/core/CssBaseline' // Materia UI import { withStyles } from '@material-ui/core/styles' -import Paper from '@material-ui/core/Paper' const styles = theme => ({ root: { @@ -25,13 +25,14 @@ class Search extends Component { render () { const { classes } = this.props return ( - + + - + ) } } export default compose( - withStyles(styles) + withStyles(styles) )(Search) diff --git a/client/src/components/UserList.js b/client/src/components/UserList.js index 9c28d8589..e5ea63569 100644 --- a/client/src/components/UserList.js +++ b/client/src/components/UserList.js @@ -61,7 +61,7 @@ const styles = theme => ({ flex: 1, }, grid: { - paddingTop: '30', + paddingTop: 30, marginTop:'30' }, }); @@ -96,7 +96,7 @@ class UserList extends Component { return (
Loading Users...
); } else { return data.users.map(user => { - + return ( @@ -165,11 +165,11 @@ class UserList extends Component { render() { const { classes } = this.props; return ( - - + + {this.displayUsers()} - + ); } }