Skip to content

Commit 837f617

Browse files
author
Daniil Tkachev
committed
PSPAYPAL-845 Update cards UX on vaulting section
1 parent 5df7074 commit 837f617

5 files changed

Lines changed: 15 additions & 3 deletions

File tree

out/src/css/paypal.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,9 @@
1414

1515
#paypal-installment-banner-container {
1616
margin-bottom: 1rem; }
17+
18+
#savedPaymentCards ul li {
19+
line-height: 4rem; }
20+
21+
#payPalVaultingCardContainer {
22+
margin-bottom: 1rem; }

out/src/css/paypal.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/build/scss/paypal.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,10 @@
1919
margin-bottom: 1rem;
2020
}
2121

22+
#savedPaymentCards ul li {
23+
line-height: 4rem;
24+
}
25+
26+
#payPalVaultingCardContainer {
27+
margin-bottom: 1rem;
28+
}

views/tpl/flow/vaulting/vaultedpaymentsources.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<div class="panel-heading">
66
<h3 id="paymentHeader" class="card-title">[{oxmultilang ident="OSC_PAYPAL_VAULTING_VAULTED_PAYMENTS"}]</h3>
77
</div>
8-
<div class="panel-body">
8+
<div class="panel-body" id="savedPaymentCards">
99
<ul>
1010
[{foreach from=$vaultedPaymentSources item=paymentToken}]
1111
<li class="mt-3">

views/tpl/shared/googlepay.tpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,3 @@
3232
<div id="[{$payment->getId()}]" class="paypal-button-container paypal-button-wrapper paypal-button-right large"></div>
3333
[{/oxhasrights}]
3434
[{/block}]
35-

0 commit comments

Comments
 (0)