Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Oct 16, 2017
1 parent b70fdcf commit 223c997
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions view/frontend/templates/multishipping.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,15 @@ https://github.com/magento/magento2/blob/2.2.0-rc2.1/app/code/Magento/Checkout/v
Note 1. «Step 2: Create your payment form»: https://stripe.com/docs/elements#create-form
Note 2. Without this framing <div> the «Pay» button is hidden,
and even <div>-framing for the button does not giux the button in this case. -->
<div class='inputs-container'>
<!-- 2017-08-25
@used-by Dfe_Stripe/multishipping:
lCard.mount($('.inputs', element).get(0));
-->
<div class='inputs'></div>
<div class='inputs'></div>
<!-- 2017-08-25
The short tag form <div id='card-errors' role='alert' /> does not work here:
the «Pay» button is hidden in this case. -->
<div class='message' role='alert'></div>
</div>
<div class='message' role='alert'></div>
<button class='action primary checkout'>
<span><?= __('Pay') ?></span>
</button>
Expand Down
2 changes: 1 addition & 1 deletion view/frontend/web/multishipping.less
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ form.multicheckout #payment-methods .dfe-stripe {
&.StripeElement--invalid {border-color: #fa755a;}
&.StripeElement--webkit-autofill {background-color: #fefde5 !important;}
}
.inputs-container {max-width: 25em;}
// 2017-08-25 A validation message.
.message {
color: #e02b27;
Expand All @@ -26,4 +25,5 @@ form.multicheckout #payment-methods .dfe-stripe {
margin-top: 0.5rem;
padding: 0.25rem 0.5rem;
}
.inputs, .message {max-width: 25em;}
}

0 comments on commit 223c997

Please sign in to comment.