From eed5de05b48403b7de63c776e9e1ea43a4e46347 Mon Sep 17 00:00:00 2001 From: Amy Wang Date: Sun, 21 Aug 2022 17:59:21 -0400 Subject: [PATCH] Center quotes in carousel --- components/QuotationCarousel.module.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/components/QuotationCarousel.module.css b/components/QuotationCarousel.module.css index f592063..2145239 100644 --- a/components/QuotationCarousel.module.css +++ b/components/QuotationCarousel.module.css @@ -62,6 +62,13 @@ } .card ul { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + + position: relative; + width: 100%; margin: 0; padding: 0; flex-grow: 1; @@ -69,6 +76,8 @@ .card li { position: absolute; + left: 0; + right: 0; margin: 0; padding: 0; list-style: none; @@ -86,6 +95,7 @@ .card p { margin: 0 calc(16rem / 16); font-weight: bold; + text-align: center; } .quotationMark {