Skip to content

Commit d5a602b

Browse files
committed
style: signup card mobile styling
1 parent e52101e commit d5a602b

File tree

2 files changed

+17
-11
lines changed

2 files changed

+17
-11
lines changed

components/signup-card.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ const submitForm = async () => {
232232
.signup-card {
233233
--border-gradient-angle: 0deg;
234234
@include cardPanel(var(--border-gradient-angle));
235-
padding: toRem(58) toRem(103) toRem(93);
235+
padding: clamp(toRem(32), 3.5vw, toRem(58)) clamp(toRem(14), 7vw, toRem(103)) clamp(toRem(32), 6.3vw, toRem(93));
236236
.content {
237237
position: relative;
238238
z-index: 2;

pages/signup.vue

+16-10
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
<template>
22
<main :class="[`page page-${tag}`]">
3-
<div class="grid-center-noGutter">
4-
<div class="col-8">
3+
<div id="section-signup">
4+
<div class="grid-center-noGutter">
5+
<div class="col-8_sm-12">
56

6-
<ButtonCta
7-
class="back-home-button"
8-
:theme="content.back_home_cta.theme"
9-
:tag="content.back_home_cta.tag"
10-
:to="content.back_home_cta.to">
11-
<span class="button-label"> {{ content.back_home_cta.text }} </span>
12-
</ButtonCta>
7+
<ButtonCta
8+
class="back-home-button"
9+
:theme="content.back_home_cta.theme"
10+
:tag="content.back_home_cta.tag"
11+
:to="content.back_home_cta.to">
12+
<span class="button-label"> {{ content.back_home_cta.text }} </span>
13+
</ButtonCta>
1314

14-
<SignupCard :signup-card="content.signup_card" />
15+
16+
<SignupCard :signup-card="content.signup_card" />
17+
</div>
1518

1619
</div>
1720
</div>
@@ -43,6 +46,9 @@ const content = computed(() => {
4346
flex-direction: column;
4447
justify-content: center;
4548
align-items: center;
49+
@include small{
50+
margin-top: 4.875rem;
51+
}
4652
}
4753
4854
.back-home-button {

0 commit comments

Comments
 (0)