aboutsummaryrefslogtreecommitdiff
path: root/src/PollCard
diff options
context:
space:
mode:
Diffstat (limited to 'src/PollCard')
-rw-r--r--src/PollCard/PollCard.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/PollCard/PollCard.tsx b/src/PollCard/PollCard.tsx
index 2a51840..b639f25 100644
--- a/src/PollCard/PollCard.tsx
+++ b/src/PollCard/PollCard.tsx
@@ -35,7 +35,8 @@ const useStyles = makeStyles(theme => ({
position: 'absolute',
color: 'white',
top: '86%',
- fontSize: 20
+ fontSize: 20,
+ textShadow: '0 0 3px black'
},
percentageLeft: {
left: 30
@@ -71,7 +72,7 @@ const PollCard: React.FC<PropTypes> = ({ poll }) => {
<Card className={classes.root}>
<CardHeader
avatar={(
- <Avatar aria-label="avatar" src={author.avatarUrl} alt={author.name[0].toUpperCase()}/>
+ <Avatar aria-label="avatar" src={author.avatarUrl} alt={author.name[0].toUpperCase()} />
)}
title={author.name}
/>