From 40c6cdfe926703edec283b4b5564a1c7d098584e Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Wed, 12 Sep 2018 14:38:53 +0200 Subject: [PATCH] User List improved --- client/src/components/UserList.js | 71 +++++++++++++++++-------------- 1 file changed, 39 insertions(+), 32 deletions(-) diff --git a/client/src/components/UserList.js b/client/src/components/UserList.js index 5d5fed994..2f37198d4 100644 --- a/client/src/components/UserList.js +++ b/client/src/components/UserList.js @@ -20,7 +20,7 @@ import UserProfile from './UserProfile'; import PortraitImage from '../img/portrait.jpg' -const styles = { +const styles = theme => ({ card: { maxWidth: 345, paddingTop:'30' @@ -29,8 +29,13 @@ const styles = { height: 0, paddingTop: '56.25%', // 16:9, marginTop:'30' - } -}; + }, + horizontal: + { + display: 'inline', + margin: theme.spacing.unit, + }, +}); class UserList extends Component { @@ -50,36 +55,38 @@ class UserList extends Component { } else { return data.users.map(user => { return ( - { - this.setState({ selected: user.id}); - } - }> - - - - - {user.alias} - - - Lizards are a widespread group of squamate reptiles, with over 6,000 species, ranging - across all continents except Antarctica - - - - - - - - +
  • + { + this.setState({ selected: user.id}); + } + }> + + + + + {user.alias} + + + I am a computer nerd passionate about crypto trading. I entered the crypto space in 2013 and since then I ve been participating in quite a few crypto open source projects. + + + + + + + + +
  • ) }); }