Fix: Credit card field showing too small

This commit is contained in:
Ferran Marcet 2017-09-06 12:14:42 +02:00
parent 016ed12c11
commit 9fa85a5831

View File

@ -1085,6 +1085,7 @@ if (preg_match('/^dopayment/',$action))
box-shadow: 0 1px 3px 0 #e6ebf1; box-shadow: 0 1px 3px 0 #e6ebf1;
-webkit-transition: box-shadow 150ms ease; -webkit-transition: box-shadow 150ms ease;
transition: box-shadow 150ms ease; transition: box-shadow 150ms ease;
width: 350px;
} }
.StripeElement--focus { .StripeElement--focus {
@ -1126,7 +1127,7 @@ if (preg_match('/^dopayment/',$action))
<label for="card-element"> <label for="card-element">
Credit or debit card Credit or debit card
</label> </label>
<div id="card-element" style="width: 350px;"> <div id="card-element">
<!-- a Stripe Element will be inserted here. --> <!-- a Stripe Element will be inserted here. -->
</div> </div>