From 144c0c5983a33a20a0c80041679dbd885e22f3e9 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 23 Jan 2024 17:25:56 +0100 Subject: [PATCH] correction on small screen page-card behaviour --- template-components/cards/page-card.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/template-components/cards/page-card.css b/template-components/cards/page-card.css index 8cdd9c8..edee98b 100644 --- a/template-components/cards/page-card.css +++ b/template-components/cards/page-card.css @@ -1,6 +1,8 @@ .page-card { @apply relative py-6 px-16 shadowed my-4 bg-white rounded-2xl grid gap-12 justify-center items-center; - grid-template-columns: 120px 1fr; + @screen sm { + grid-template-columns: 120px 1fr; + } &__title { @apply !text-2xl font-bold text-secondary !my-0; }