diff options
author | Eugene Sokolov <eug-vs@keemail.me> | 2020-07-04 00:12:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-04 00:12:42 +0300 |
commit | ed0117c9c7a60b285eb8e47bbd925e222184df51 (patch) | |
tree | b97f00e24f7ef10db191954588534f59644fdabc /src/components/PollCard | |
parent | af51f6c8a6fabdd8e578e13599b33f121f483a52 (diff) | |
parent | 7b698a68cb3d332aecfebf7a85b2ac56f9448bea (diff) | |
download | which-ui-ed0117c9c7a60b285eb8e47bbd925e222184df51.tar.gz |
Merge pull request #61 from which-ecosystem/mobile-adaptation
Adapt application for mobile devices
Diffstat (limited to 'src/components/PollCard')
-rw-r--r-- | src/components/PollCard/PollCard.tsx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/components/PollCard/PollCard.tsx b/src/components/PollCard/PollCard.tsx index f5a5762..98ae001 100644 --- a/src/components/PollCard/PollCard.tsx +++ b/src/components/PollCard/PollCard.tsx @@ -26,14 +26,8 @@ const DATE_FORMAT = { }; const useStyles = makeStyles(theme => ({ - root: { - maxWidth: theme.spacing(75), - height: 488, - margin: '40px auto' - }, images: { - height: theme.spacing(50), - width: 300 + height: theme.spacing(50) }, imagesBlock: { display: 'flex' @@ -103,7 +97,7 @@ const PollCard: React.FC<PropTypes> = ({ initialPoll }) => { const dominant: Which = left.votes >= right.votes ? 'left' : 'right'; return ( - <Card className={classes.root}> + <Card> <UserStrip user={author} info={date} /> <div className={classes.imagesBlock}> <CardActionArea onDoubleClick={handleLeft}> |