fix: Add paragraph prop for bottom margin
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
This commit is contained in:
committed by
Carlos Lopez
parent
e16f805242
commit
2bdd1f92c1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user