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

fix: beautify stat tiles #237

Merged
merged 1 commit into from
Mar 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading