Skip to content

Commit

Permalink
Merge pull request #54 from CodeForAfrica/hotfix/promise-page-css
Browse files Browse the repository at this point in the history
[Hotfix] Fix promise page
  • Loading branch information
nerdlet authored Mar 24, 2020
2 parents b8231d8 + 7146b59 commit fedacca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/components/Promise/Card.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ const useStyles = makeStyles(theme => ({
'&:hover': {
textDecoration: 'none'
}
},
topicTerm: {
marginTop: '3rem'
}
}));

Expand Down Expand Up @@ -72,7 +75,7 @@ function PromiseCard({
{description || ''}
</Typography>
</Grid>
<Grid item>
<Grid item className={classes.topicTerm}>
<Typography variant="body2" className={classes.content}>
{term} | {topic}
</Typography>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Promise/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function PromiseHeader({ status, title, term, topic }) {
>
<Twitter
className="Mui-desaturated"
style={{ color: theme.palette.primary.main }}
style={{ fill: theme.palette.primary.main }}
/>
</TwitterShareButton>
</Grid>
Expand Down

1 comment on commit fedacca

@vercel
Copy link

@vercel vercel bot commented on fedacca Mar 24, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.