fix(SW-369): center on mobile
This commit is contained in:
@@ -32,7 +32,11 @@ export default async function JoinLoyaltyContact({
|
|||||||
{block.title}
|
{block.title}
|
||||||
</Title>
|
</Title>
|
||||||
<ScandicFriends color="red" />
|
<ScandicFriends color="red" />
|
||||||
{block.preamble ? <Body>{block.preamble}</Body> : null}
|
{block.preamble ? (
|
||||||
|
<Body textAlign={null} className={styles.preamble}>
|
||||||
|
{block.preamble}
|
||||||
|
</Body>
|
||||||
|
) : null}
|
||||||
{block.button ? (
|
{block.button ? (
|
||||||
<Button
|
<Button
|
||||||
asChild
|
asChild
|
||||||
|
|||||||
@@ -3,6 +3,11 @@
|
|||||||
gap: var(--Spacing-x3);
|
gap: var(--Spacing-x3);
|
||||||
padding-bottom: var(--Spacing-x5);
|
padding-bottom: var(--Spacing-x5);
|
||||||
padding-top: var(--Spacing-x4);
|
padding-top: var(--Spacing-x4);
|
||||||
|
justify-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.preamble {
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.loginContainer {
|
.loginContainer {
|
||||||
@@ -22,3 +27,13 @@
|
|||||||
.icon {
|
.icon {
|
||||||
align-self: center;
|
align-self: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: 1367px) {
|
||||||
|
.wrapper {
|
||||||
|
justify-items: start;
|
||||||
|
}
|
||||||
|
|
||||||
|
.preamble {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user