From 003e957a77ddf0f3207b86ef6b8a2bdc718405ef Mon Sep 17 00:00:00 2001 From: Galen Guyer Date: Wed, 13 Apr 2022 22:07:22 -0400 Subject: mobile css improvements --- src/components/Card.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/components/Card.css') diff --git a/src/components/Card.css b/src/components/Card.css index 39c51c7..273e106 100644 --- a/src/components/Card.css +++ b/src/components/Card.css @@ -1,7 +1,9 @@ .cardLink { text-decoration: none; color: black; - margin: 24px; + margin: 12px 24px; + flex-basis: 100%; + max-width: 200px; } .Card { @@ -14,8 +16,8 @@ @media screen and (max-width: 600px) { .Card { - padding: 0px 20px; - margin: 18px; + padding: 0px 16px; + margin: 10px 0px; } } -- cgit v1.2.3