refactor: styles btn checkout mobile

This commit is contained in:
Tan Le
2021-09-21 17:55:15 +07:00
parent ee2e5eb769
commit 505ef00d38
6 changed files with 34 additions and 9 deletions

View File

@@ -11,5 +11,12 @@
font-size: 1.2rem;
line-height: 2rem;
}
@screen sm-only {
@apply flex-col items-start;
.button {
padding-top: 2rem;
}
}
}
}

View File

@@ -43,11 +43,13 @@ const CustomerInfoForm = ({ id, onConfirm }: CustomerInfoFormProps) => {
}
.
</div>
<div className={s.button}>
<ButtonCommon onClick={handleConfirmClick}>
Continue to Shipping
</ButtonCommon>
</div>
</div>
</div>
)
}

View File

@@ -12,5 +12,11 @@
font-size: 1.2rem;
line-height: 2rem;
}
@screen sm-only {
@apply flex-col items-start;
.button {
padding-top: 2rem;
}
}
}
}

View File

@@ -44,11 +44,13 @@ const PaymentInfoForm = ({onConfirm,id}: PaymentInfoFormProps) => {
}
.
</div>
<div className={s.button}>
<ButtonCommon onClick={handleConfirmClick}>
Submit Order
</ButtonCommon>
</div>
</div>
</div>
)
}

View File

@@ -12,6 +12,12 @@
font-size: 1.2rem;
line-height: 2rem;
}
@screen sm-only {
@apply flex-col items-start;
.button {
padding-top: 2rem;
}
}
}
.line{
>div{

View File

@@ -86,11 +86,13 @@ const ShippingInfoForm = ({onConfirm,id}: ShippingInfoFormProps) => {
}
.
</div>
<div className={s.button}>
<ButtonCommon onClick={handleConfirmClick}>
Continue to Payment
</ButtonCommon>
</div>
</div>
</div>
)
}