diff options
author | Galen Guyer <galen@galenguyer.com> | 2020-11-14 20:21:52 -0500 |
---|---|---|
committer | Galen Guyer <galen@galenguyer.com> | 2020-11-14 20:21:52 -0500 |
commit | 5699c485f7aec83c88afa23b1732400b4a9395d4 (patch) | |
tree | aac7008e3f074fcf2219b22c0e8aae646466cff3 /src/Card.js | |
parent | 9e0925d440a386c57ae10dc7c4d02f3bb9e43efc (diff) |
add toggle for one day or week ago
Diffstat (limited to 'src/Card.js')
-rw-r--r-- | src/Card.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Card.js b/src/Card.js index 86ee54d..a296681 100644 --- a/src/Card.js +++ b/src/Card.js @@ -8,8 +8,8 @@ const Card = (props) => { diff = "+" + diff.toString(); } return ( - <Link className="Card" style={{padding: 0}} to={props.link}> - <div className="group bg-white hover:bg-orange-400 rounded-lg border-2 border-orange-300 hover:border-orange-400 p-4 m-6 transition ease-in-out duration-300"> + <Link className="Card" style={{ padding: 0 }} to={props.link}> + <div className="group bg-white hover:bg-orange-400 rounded-lg border-2 border-orange-300 hover:border-orange-400 p-4 m-6 transition ease-in-out duration-300"> <p> <span className="text-2xl group-hover:text-white transition ease-in-out duration-300"> {props.latest} @@ -21,7 +21,7 @@ const Card = (props) => { </span> </p> <h3 className="text-base group-hover:text-white transition ease-in-out duration-300">{props.name}</h3> - </div> + </div> </Link> ); }; |