diff options
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> ); }; |