Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Commit

Permalink
fix: beautify stat tiles (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
revolunet authored Mar 6, 2024
1 parent 69abb5c commit 80894cc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/StatTile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ export const StatTile = (props: StatTileProps): JSX.Element => {
<div className={fr.cx("fr-col-12", "fr-col-md-4")}>
<div className={fr.cx("fr-card", "fr-card--no-arrow")}>
<div className={fr.cx("fr-card__body")}>
<strong className={fr.cx("fr-display--md")}>{props.stats}</strong>
<strong
className={fr.cx("fr-display--md", "fr-mt-5w")}
style={{ textAlign: "center" }}
>
{props.stats}
</strong>
<h2 className={fr.cx("fr-card__title", "fr-mb-4w")}>{props.title}</h2>
{props.description && (
<div className={fr.cx("fr-card__desc")}>
Expand Down

0 comments on commit 80894cc

Please sign in to comment.