diff options
author | eug-vs <eug-vs@keemail.me> | 2020-07-03 22:44:38 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-07-03 22:44:38 +0300 |
commit | 6a216b903899d1481f93ebff40e246f60c4c3e89 (patch) | |
tree | 9cae6a4aa2318e36015ef98116096ccd2f03a6e1 /src/components | |
parent | f74dedfce4ade65cfe023c973a6c137a56c88ab5 (diff) | |
download | which-ui-6a216b903899d1481f93ebff40e246f60c4c3e89.tar.gz |
feat: adapt all pages to mobile view
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/PollCard/PollCard.tsx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/components/PollCard/PollCard.tsx b/src/components/PollCard/PollCard.tsx index f5a5762..ca85d11 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 }, 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}> |