aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-07-03 22:44:38 +0300
committereug-vs <eug-vs@keemail.me>2020-07-03 22:44:38 +0300
commit6a216b903899d1481f93ebff40e246f60c4c3e89 (patch)
tree9cae6a4aa2318e36015ef98116096ccd2f03a6e1 /src/components
parentf74dedfce4ade65cfe023c973a6c137a56c88ab5 (diff)
downloadwhich-ui-6a216b903899d1481f93ebff40e246f60c4c3e89.tar.gz
feat: adapt all pages to mobile view
Diffstat (limited to 'src/components')
-rw-r--r--src/components/PollCard/PollCard.tsx8
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}>