aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-10-08 23:31:08 +0300
committereug-vs <eug-vs@keemail.me>2020-10-08 23:45:01 +0300
commit8c8e38f93dba84f67624959540cd2b2042dd5089 (patch)
treee868a8b218fe4583fd05bbf95e06beb95c093f39 /src/components
parent86a0796c859bbb0bd735fdc3bdc67d1687ddaf1c (diff)
downloadwhich-ui-8c8e38f93dba84f67624959540cd2b2042dd5089.tar.gz
feat: make PollCreation input same as description
Diffstat (limited to 'src/components')
-rw-r--r--src/components/PollCard/PollCard.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/PollCard/PollCard.tsx b/src/components/PollCard/PollCard.tsx
index eb025f2..6886534 100644
--- a/src/components/PollCard/PollCard.tsx
+++ b/src/components/PollCard/PollCard.tsx
@@ -44,7 +44,7 @@ const useStyles = makeStyles(theme => ({
transitionDuration: '0.5s'
},
description: {
- padding: theme.spacing(0.5, 2)
+ padding: theme.spacing(1, 2)
}
}));
@@ -97,7 +97,7 @@ const PollCard: React.FC<PropTypes> = React.memo(({ poll, setPoll }) => {
<Card elevation={3}>
<UserStrip user={author} info={date} />
{poll.description && (
- <Typography gutterBottom className={classes.description}>
+ <Typography className={classes.description}>
{poll.description}
</Typography>
)}