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
This commit is contained in:
Christel Westerberg
2025-01-08 15:13:32 +00:00
committed by Linus Flood
parent dfa7395aa4
commit a8763ca80c

View File

@@ -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;
}
}