From 4adccd2741b049f53b4a54dae99d53d83cd52436 Mon Sep 17 00:00:00 2001 From: newick Date: Thu, 19 Sep 2019 10:22:26 +0200 Subject: [PATCH] fix(ContributorLarge stat): added Bubble icon --- src/components/atoms/icons/Bubble.tsx | 10 ++++++++++ .../organisms/Contributor/ContributorLarge.tsx | 12 ++++++++---- 2 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 src/components/atoms/icons/Bubble.tsx diff --git a/src/components/atoms/icons/Bubble.tsx b/src/components/atoms/icons/Bubble.tsx new file mode 100644 index 000000000..d49e615f9 --- /dev/null +++ b/src/components/atoms/icons/Bubble.tsx @@ -0,0 +1,10 @@ +import React from 'react'; + +export default () => ( + + + +); diff --git a/src/components/organisms/Contributor/ContributorLarge.tsx b/src/components/organisms/Contributor/ContributorLarge.tsx index 5b7481f04..55eff91b7 100644 --- a/src/components/organisms/Contributor/ContributorLarge.tsx +++ b/src/components/organisms/Contributor/ContributorLarge.tsx @@ -8,6 +8,7 @@ import UserName from 'components/atoms/UserName/UserName'; import Stat from 'components/atoms/Stat/Stat'; import StatType from 'components/atoms/Stat/StatType'; import ContributorButton from './ContributorButton'; +import BubbleIcon from 'components/atoms/icons/Bubble'; const ContributorCard = styled.div` padding: 12px 15px 10px; @@ -35,9 +36,11 @@ const ContributorInfos = styled.div` `; const StatsWrapper = styled.div` - display: grid; - grid-column-gap: 5px; - grid-template-columns: 1fr 1fr 1fr; + width: 100%; + + ${BubbleIcon} { + margin-right: 6px; + } `; const ContributorIntro = styled.p` @@ -78,7 +81,8 @@ export const ContributorLarge = ({ - {contributor.contributions} Bulles + {contributor.contributions}{' '} + Bulles