aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-06-16 20:17:05 +0300
committereug-vs <eug-vs@keemail.me>2020-06-16 20:17:05 +0300
commit5ec0669e6160f025017684a7d48f1d07a1768785 (patch)
tree27a9134031b4c90a9c887fbf9d8d2fa0e80a4109 /src
parente68d60d60880f4b1e847f7b092210fadfe5d6ab5 (diff)
downloadwhich-ui-5ec0669e6160f025017684a7d48f1d07a1768785.tar.gz
feat: add pointer over avatar
Diffstat (limited to 'src')
-rw-r--r--src/components/PollCard/PollCard.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/PollCard/PollCard.tsx b/src/components/PollCard/PollCard.tsx
index 23dc342..baf896f 100644
--- a/src/components/PollCard/PollCard.tsx
+++ b/src/components/PollCard/PollCard.tsx
@@ -27,6 +27,9 @@ const useStyles = makeStyles(theme => ({
},
imagesBlock: {
display: 'flex'
+ },
+ avatar: {
+ cursor: 'pointer'
}
}));
@@ -51,6 +54,7 @@ const PollCard: React.FC<PropTypes> = ({ poll, navigate }) => {
src={author.avatarUrl}
alt={author.name[0].toUpperCase()}
onClick={handleNavigate}
+ className={classes.avatar}
/>
)}
title={author.name}