From c6df3604e4931f1fdb0e993b63470d31cb895e1a Mon Sep 17 00:00:00 2001 From: Aditya Thakral Date: Sat, 28 Aug 2021 15:52:15 -0400 Subject: [PATCH] Restrict poster width to 300px on mobile screens --- components/EventCard.module.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/EventCard.module.css b/components/EventCard.module.css index 1fa1408e..9d7b5ae7 100644 --- a/components/EventCard.module.css +++ b/components/EventCard.module.css @@ -55,7 +55,8 @@ } .card aside { - margin: 0; + margin: 0 auto; + max-width: calc(300rem / 16); } .card aside img {