aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/PollCard/PollCard.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/PollCard/PollCard.tsx b/src/components/PollCard/PollCard.tsx
index 6886534..a06bad8 100644
--- a/src/components/PollCard/PollCard.tsx
+++ b/src/components/PollCard/PollCard.tsx
@@ -44,7 +44,9 @@ const useStyles = makeStyles(theme => ({
transitionDuration: '0.5s'
},
description: {
- padding: theme.spacing(1, 2)
+ padding: theme.spacing(1, 2),
+ wordWrap: 'break-word',
+ whiteSpace: 'pre-wrap'
}
}));