From a8763ca80c4ccbe7699792b1310c108c0c9aed49 Mon Sep 17 00:00:00 2001 From: Christel Westerberg Date: Wed, 8 Jan 2025 15:13:32 +0000 Subject: [PATCH] Merged in fix/margins-loyalty-layout (pull request #1152) fix: add correct negative margins on profile page * fix: add correct negative margins on profile page Approved-by: Linus Flood --- .../(live)/(protected)/my-pages/profile/profileLayout.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/[lang]/(live)/(protected)/my-pages/profile/profileLayout.css b/app/[lang]/(live)/(protected)/my-pages/profile/profileLayout.css index aefe1b30f..216869dbb 100644 --- a/app/[lang]/(live)/(protected)/my-pages/profile/profileLayout.css +++ b/app/[lang]/(live)/(protected)/my-pages/profile/profileLayout.css @@ -9,10 +9,18 @@ display: grid; gap: var(--Spacing-x4); padding: var(--Spacing-x2) var(--Spacing-x2) var(--Spacing-x4); + margin: 0 calc(var(--Layout-Mobile-Margin-Margin-min) * -1); } @media screen and (min-width: 768px) { .profile-layout { padding: var(--Spacing-x3) var(--Spacing-x3) var(--Spacing-x4); + margin: 0 calc(var(--Layout-Tablet-Margin-Margin-min) * -1); + } +} + +@media screen and (min-width: 1367px) { + .profile-layout { + margin: 0; } }