From 2c209a3f52648653fda853614609c76019e5a7d2 Mon Sep 17 00:00:00 2001 From: ilyayudovin Date: Fri, 9 Oct 2020 22:47:56 +0300 Subject: Add fontsize for description --- src/components/PollCard/PollCard.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/components/PollCard') diff --git a/src/components/PollCard/PollCard.tsx b/src/components/PollCard/PollCard.tsx index a06bad8..d68ddf9 100644 --- a/src/components/PollCard/PollCard.tsx +++ b/src/components/PollCard/PollCard.tsx @@ -44,6 +44,7 @@ const useStyles = makeStyles(theme => ({ transitionDuration: '0.5s' }, description: { + fontSize: 14, padding: theme.spacing(1, 2), wordWrap: 'break-word', whiteSpace: 'pre-wrap' -- cgit v1.2.3 From 578188c82b3aba624be31b67042ecbc68f8036c1 Mon Sep 17 00:00:00 2001 From: ilyayudovin Date: Fri, 9 Oct 2020 23:02:13 +0300 Subject: Change paddings between images and description --- src/components/PollCard/PollCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/PollCard') diff --git a/src/components/PollCard/PollCard.tsx b/src/components/PollCard/PollCard.tsx index d68ddf9..64fab34 100644 --- a/src/components/PollCard/PollCard.tsx +++ b/src/components/PollCard/PollCard.tsx @@ -45,7 +45,7 @@ const useStyles = makeStyles(theme => ({ }, description: { fontSize: 14, - padding: theme.spacing(1, 2), + padding: theme.spacing(0, 2, 1.25), wordWrap: 'break-word', whiteSpace: 'pre-wrap' } -- cgit v1.2.3