Skip to content

Commit fedacca

Browse files
authored
Merge pull request #54 from CodeForAfrica/hotfix/promise-page-css
[Hotfix] Fix promise page
2 parents b8231d8 + 7146b59 commit fedacca

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/components/Promise/Card.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ const useStyles = makeStyles(theme => ({
4343
'&:hover': {
4444
textDecoration: 'none'
4545
}
46+
},
47+
topicTerm: {
48+
marginTop: '3rem'
4649
}
4750
}));
4851

@@ -72,7 +75,7 @@ function PromiseCard({
7275
{description || ''}
7376
</Typography>
7477
</Grid>
75-
<Grid item>
78+
<Grid item className={classes.topicTerm}>
7679
<Typography variant="body2" className={classes.content}>
7780
{term} | {topic}
7881
</Typography>

src/components/Promise/Header.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function PromiseHeader({ status, title, term, topic }) {
7171
>
7272
<Twitter
7373
className="Mui-desaturated"
74-
style={{ color: theme.palette.primary.main }}
74+
style={{ fill: theme.palette.primary.main }}
7575
/>
7676
</TwitterShareButton>
7777
</Grid>

0 commit comments

Comments
 (0)