mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
refactor: styles btn checkout mobile
This commit is contained in:
@@ -11,5 +11,12 @@
|
|||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
line-height: 2rem;
|
line-height: 2rem;
|
||||||
}
|
}
|
||||||
|
@screen sm-only {
|
||||||
|
@apply flex-col items-start;
|
||||||
|
.button {
|
||||||
|
padding-top: 2rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -43,9 +43,11 @@ const CustomerInfoForm = ({ id, onConfirm }: CustomerInfoFormProps) => {
|
|||||||
}
|
}
|
||||||
.
|
.
|
||||||
</div>
|
</div>
|
||||||
<ButtonCommon onClick={handleConfirmClick}>
|
<div className={s.button}>
|
||||||
Continue to Shipping
|
<ButtonCommon onClick={handleConfirmClick}>
|
||||||
</ButtonCommon>
|
Continue to Shipping
|
||||||
|
</ButtonCommon>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
@@ -12,5 +12,11 @@
|
|||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
line-height: 2rem;
|
line-height: 2rem;
|
||||||
}
|
}
|
||||||
|
@screen sm-only {
|
||||||
|
@apply flex-col items-start;
|
||||||
|
.button {
|
||||||
|
padding-top: 2rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -44,9 +44,11 @@ const PaymentInfoForm = ({onConfirm,id}: PaymentInfoFormProps) => {
|
|||||||
}
|
}
|
||||||
.
|
.
|
||||||
</div>
|
</div>
|
||||||
<ButtonCommon onClick={handleConfirmClick}>
|
<div className={s.button}>
|
||||||
Submit Order
|
<ButtonCommon onClick={handleConfirmClick}>
|
||||||
</ButtonCommon>
|
Submit Order
|
||||||
|
</ButtonCommon>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
@@ -12,6 +12,12 @@
|
|||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
line-height: 2rem;
|
line-height: 2rem;
|
||||||
}
|
}
|
||||||
|
@screen sm-only {
|
||||||
|
@apply flex-col items-start;
|
||||||
|
.button {
|
||||||
|
padding-top: 2rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.line{
|
.line{
|
||||||
>div{
|
>div{
|
||||||
|
@@ -86,9 +86,11 @@ const ShippingInfoForm = ({onConfirm,id}: ShippingInfoFormProps) => {
|
|||||||
}
|
}
|
||||||
.
|
.
|
||||||
</div>
|
</div>
|
||||||
<ButtonCommon onClick={handleConfirmClick}>
|
<div className={s.button}>
|
||||||
Continue to Payment
|
<ButtonCommon onClick={handleConfirmClick}>
|
||||||
</ButtonCommon>
|
Continue to Payment
|
||||||
|
</ButtonCommon>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user