From 0f83a74a94f660907d6c9901ae24eb61e04b388d Mon Sep 17 00:00:00 2001 From: William Oldham Date: Tue, 26 Oct 2021 13:16:55 +0100 Subject: [PATCH] Add bottom margin to card --- src/components/Card.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Card.css b/src/components/Card.css index 6dabda2b..2d42377b 100644 --- a/src/components/Card.css +++ b/src/components/Card.css @@ -2,6 +2,7 @@ background-color: var(--card); padding: 3rem 4rem; margin: 0 3rem; + margin-bottom: 6rem; border-radius: 10px; box-sizing: border-box; transition: height 500ms ease-in-out; @@ -13,7 +14,6 @@ .card-wrapper { transition: height 500ms ease-in-out; - overflow: hidden; width: 45rem; max-width: 100%; } @@ -21,6 +21,7 @@ @media screen and (max-width: 700px) { .card { margin: 0; + margin-bottom: 6rem; padding: 3rem 2rem; } } \ No newline at end of file