diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-05-18 22:43:22 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-05-18 22:43:22 +0200 |
| commit | 30d3489ca15b3ec16b93c312b0f517cd1bead1cd (patch) | |
| tree | 7e85067757a38f5d756c83ab1d7ef5536703e9dd /src/components/molecules/layout/card.tsx | |
| parent | 584bd42f871d2e1618ca414749f09c38f0143a44 (diff) | |
chore: fix minor styles/typescript issues introduced during refactoring
Diffstat (limited to 'src/components/molecules/layout/card.tsx')
| -rw-r--r-- | src/components/molecules/layout/card.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/components/molecules/layout/card.tsx b/src/components/molecules/layout/card.tsx index e416bd5..003060f 100644 --- a/src/components/molecules/layout/card.tsx +++ b/src/components/molecules/layout/card.tsx @@ -87,7 +87,11 @@ const Card: FC<CardProps> = ({ className={styles.cover} /> )} - <Heading level={titleLevel} className={styles.title}> + <Heading + alignment="center" + level={titleLevel} + className={styles.title} + > {title} </Heading> </header> |
