aboutsummaryrefslogtreecommitdiff
path: root/src/Card.js
diff options
context:
space:
mode:
authorGalen Guyer <galen@galenguyer.com>2020-11-14 13:19:23 -0500
committerGalen Guyer <galen@galenguyer.com>2020-11-14 13:19:23 -0500
commit7c3d8b98e6331169883cee2d66b7d31e7230f496 (patch)
tree242254a7ee798b42a84f344c25d8e512a793e73f /src/Card.js
parent24aef8d70f7602ab241f75e38baf8df028378b7d (diff)
add some fancier styling with better labels
Diffstat (limited to 'src/Card.js')
-rw-r--r--src/Card.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Card.js b/src/Card.js
index 310848d..fea3cda 100644
--- a/src/Card.js
+++ b/src/Card.js
@@ -7,12 +7,12 @@ const Card = (props) => {
diff = "+" + diff.toString();
}
return (
- <div className="Card">
- <h3>{props.name}</h3>
+ <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="Diff">
+ <span className="Diff text-gray-600 text-sm">
({diff}
{props.suffix})
</span>