fix: Add paragraph prop for bottom margin

Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
This commit is contained in:
Carlos Esteban Lopez
2023-01-03 12:43:54 -05:00
committed by Carlos Lopez
parent e16f805242
commit 2bdd1f92c1
14 changed files with 35 additions and 26 deletions
@@ -167,6 +167,7 @@ export const FossaCard = (props: { variant?: InfoCardVariants }) => {
>
<Grid item>
<Typography
paragraph
className={
value.issueCount > 0 || value.dependencyCount === 0
? classes.numberError
@@ -176,12 +177,12 @@ export const FossaCard = (props: { variant?: InfoCardVariants }) => {
{value.issueCount}
</Typography>
{value.dependencyCount > 0 && (
<Typography className={classes.description}>
<Typography paragraph className={classes.description}>
Number of issues
</Typography>
)}
{value.dependencyCount === 0 && (
<Typography className={classes.description}>
<Typography paragraph className={classes.description}>
No Dependencies.
<br />
Please check your FOSSA project settings.