Skip to content

Commit 19732be

Browse files
committed
MAGETWO-58251: PayPal Best Practice to Separate Saved Tokens
- css refactoring
1 parent 4ec7f99 commit 19732be

File tree

3 files changed

+7
-8
lines changed
  • app
    • code/Magento/Checkout/view/frontend/web/template/payment-methods
    • design/frontend/Magento

3 files changed

+7
-8
lines changed

app/code/Magento/Checkout/view/frontend/web/template/payment-methods/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<div if="isPaymentMethodsAvailable()"
88
class="items payment-methods">
99
<div repeat="foreach: paymentGroupsList, item: '$group'"
10-
class="payment-methods-list">
10+
class="payment-group">
1111
<div if="getRegion($group().displayArea)().length"
1212
translate="getGroupTitle($group)"
1313
class="step-title"

app/design/frontend/Magento/blank/Magento_Checkout/web/css/source/module/checkout/_payments.less

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
& when (@media-common = true) {
2525
.checkout-payment-method {
2626
.step-title {
27-
margin-bottom: 0;
2827
border-bottom: 0;
28+
margin-bottom: 0;
2929
}
3030

3131
.payment-method {
@@ -86,8 +86,8 @@
8686
}
8787
}
8888

89-
.payment-methods-list {
90-
& + .payment-methods-list {
89+
.payment-group {
90+
& + .payment-group {
9191
.step-title {
9292
margin: @indent__base 0 0;
9393
}

app/design/frontend/Magento/luma/Magento_Checkout/web/css/source/module/checkout/_payments.less

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
& when (@media-common = true) {
2525
.checkout-payment-method {
2626
.step-title {
27-
margin-bottom: 0;
2827
border-bottom: 0;
28+
margin-bottom: 0;
2929
}
3030

3131
.payment-method {
@@ -46,7 +46,6 @@
4646
.lib-css(border-top, @checkout-payment-method-title__border);
4747
}
4848
}
49-
5049
}
5150

5251
.payment-method-content {
@@ -87,8 +86,8 @@
8786
}
8887
}
8988

90-
.payment-methods-list {
91-
& + .payment-methods-list {
89+
.payment-group {
90+
& + .payment-group {
9291
.step-title {
9392
margin: @indent__base 0 0;
9493
}

0 commit comments

Comments
 (0)