aboutsummaryrefslogtreecommitdiff
path: root/src/Card.js
diff options
context:
space:
mode:
authorGalen Guyer <galen@galenguyer.com>2020-11-14 13:22:54 -0500
committerGalen Guyer <galen@galenguyer.com>2020-11-14 13:22:54 -0500
commitcd2aa45a4b47f6c544cb50eb8c5c33ccbeb4e49e (patch)
tree31c7b8c8bbc6d848808e9bdd0b225189744dbf96 /src/Card.js
parent7c3d8b98e6331169883cee2d66b7d31e7230f496 (diff)
draw more attention to numbers instead of label
Diffstat (limited to 'src/Card.js')
-rw-r--r--src/Card.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Card.js b/src/Card.js
index fea3cda..5710881 100644
--- a/src/Card.js
+++ b/src/Card.js
@@ -8,15 +8,17 @@ const Card = (props) => {
}
return (
<div className="Card bg-white rounded-lg border-2 border-orange-300 p-4 m-4">
- <h3 className="text-lg">{props.name}</h3>
<p>
- {props.latest}
- {props.suffix}{" "}
+ <span className="text-2xl">
+ {props.latest}
+ {props.suffix}{" "}
+ </span>
<span className="Diff text-gray-600 text-sm">
({diff}
{props.suffix})
</span>
</p>
+ <h3 className="text-base">{props.name}</h3>
</div>
);
};