From 4b193541b264a1770786db6c714b2ae0d86182b2 Mon Sep 17 00:00:00 2001 From: Christel Westerberg Date: Tue, 13 Feb 2024 15:18:59 +0100 Subject: [PATCH] fix: make images responsive --- .../Current/Aside/Puffs/Puff/puff.module.css | 1 + components/Current/Footer/index.tsx | 1 - components/Current/Hero/hero.module.css | 27 ++++++++- components/Current/Hero/index.tsx | 56 +++++-------------- .../Breadcrumbs/breadcrumbs.module.css | 4 ++ .../Current/Preamble/Breadcrumbs/index.tsx | 10 +++- 6 files changed, 50 insertions(+), 49 deletions(-) diff --git a/components/Current/Aside/Puffs/Puff/puff.module.css b/components/Current/Aside/Puffs/Puff/puff.module.css index 7c954008c..24d75861d 100644 --- a/components/Current/Aside/Puffs/Puff/puff.module.css +++ b/components/Current/Aside/Puffs/Puff/puff.module.css @@ -12,6 +12,7 @@ height: auto; object-fit: contain; object-position: center; + width: 100%; } .content { diff --git a/components/Current/Footer/index.tsx b/components/Current/Footer/index.tsx index 6b633a29a..7e2347659 100644 --- a/components/Current/Footer/index.tsx +++ b/components/Current/Footer/index.tsx @@ -14,7 +14,6 @@ export default async function Footer({ lang }: LangParams) { }) const footerData = response.data.all_footer.items[0] - return (