This commit is contained in:
Kenneth Jannette
2024-02-05 20:18:17 -06:00
parent b4c2e4283c
commit a1643efd58
3 changed files with 63 additions and 2 deletions

View File

@@ -96,7 +96,7 @@ const PaymentModal = ({
<div className="payment-modal-text-wrapper"> <div className="payment-modal-text-wrapper">
<div className="paymodal-summary-right"></div> <div className="paymodal-summary-right"></div>
<div className="paymodal-summary-left-bonus"> <div className="paymodal-summary-left-bonus">
Includes 10% discount for convenient annual billing Includes 15% discount for convenient annual billing
</div> </div>
</div> </div>
) : ( ) : (
@@ -108,7 +108,7 @@ const PaymentModal = ({
<Form className="payment-form"> <Form className="payment-form">
{splitEvery(Object.keys(paymentfields), fieldsChunkSize).map( {splitEvery(Object.keys(paymentfields), fieldsChunkSize).map(
(names, j) => ( (names, j) => (
<Row key={`row${j}-modal`}> <Row key={`row${j}-modal`} className="payment-order-row">
{j === 2 ? ( {j === 2 ? (
<div className="exp-date-hearder">Card Expiration Date</div> <div className="exp-date-hearder">Card Expiration Date</div>
) : ( ) : (

View File

@@ -129,3 +129,60 @@
margin-left: 13px; margin-left: 13px;
padding-left: 7px; padding-left: 7px;
} }
@media only screen and (max-width: 820px) {
.modal-body {
width: 580px !important;
}
.payment-order-row {
display: flex;
flex-direction: column;
}
.order-summary-container {
width: 420px;
flex-direction: unset;
justify-content: center;
margin: 0px;
padding: 0px;
margin-bottom: 12px;
}
.payment-order-row {
width: 420px;
display: flex;
flex-direction: column;
}
.payment-form {
width: 620px !important;
}
}
@media only screen and (max-width: 420px) {
.modal-body {
width: 380px;
}
.order-summary-container {
flex-direction: column;
}
.order-summary-container {
justify-content: center;
margin: 0px;
padding: 0px;
margin-bottom: 12px;
}
.payment-form {
width: 320px !important;
}
.payment-order-row {
display: flex;
flex-direction: column;
}
.short-column {
margin: 4px 0px;
}
}

View File

@@ -442,4 +442,8 @@
width: 180px !important; width: 180px !important;
margin-top: 18px; margin-top: 18px;
} }
.paymodal-summary-left-bonus {
margin-top: 3px;
}
} }