From 496312db839407e25a063af04dcc6ab470eaf585 Mon Sep 17 00:00:00 2001 From: Ane Date: Thu, 12 Dec 2024 14:02:58 +0100 Subject: [PATCH] center customer case entry or all webbrowsers --- .../sections/customerCasesEntry/CustomerCasesEntry.tsx | 4 ++-- .../sections/customerCasesEntry/customerCasesEntry.module.css | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/sections/customerCasesEntry/CustomerCasesEntry.tsx b/src/components/sections/customerCasesEntry/CustomerCasesEntry.tsx index 0a7e99a2d..a68e5bce8 100644 --- a/src/components/sections/customerCasesEntry/CustomerCasesEntry.tsx +++ b/src/components/sections/customerCasesEntry/CustomerCasesEntry.tsx @@ -45,7 +45,7 @@ async function CustomerCasesEntry({ language, section }: CustomerCasesProps) { return ( customerCaseResult && ( -
+ <>
{section.basicTitle} @@ -56,7 +56,7 @@ async function CustomerCasesEntry({ language, section }: CustomerCasesProps) { language={language} customerCasePageSlug={customerCasePageSlug} /> -
+ ) ); } diff --git a/src/components/sections/customerCasesEntry/customerCasesEntry.module.css b/src/components/sections/customerCasesEntry/customerCasesEntry.module.css index a5f395bae..b6eb07f2f 100644 --- a/src/components/sections/customerCasesEntry/customerCasesEntry.module.css +++ b/src/components/sections/customerCasesEntry/customerCasesEntry.module.css @@ -1,6 +1,8 @@ .container { container-type: inline-size; container-name: customer-case-container; + display: flex; + justify-content: center; } .wrapper { @@ -11,7 +13,6 @@ display: flex; gap: 1rem; max-width: var(--max-content-width-large); - justify-self: center; } .imageWrapper {