Skip to content

Commit ed9860f

Browse files
authored
Fix JCB logo (#11112)
1 parent d1e7382 commit ed9860f

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

changelog/fix-jcb-logo

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Significance: patch
2+
Type: fix
3+
4+
Comment: fix JCB logo.

client/checkout/blocks/payment-methods-logos/style.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,9 @@
5353
box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.1 );
5454
}
5555
}
56+
57+
.payment-methods--logos-popover {
58+
> img {
59+
object-position: center !important;
60+
}
61+
}

client/utils/card-brands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Visa from 'assets/images/payment-method-icons/visa.svg?asset';
55
import Mastercard from 'assets/images/payment-method-icons/mastercard.svg?asset';
66
import Amex from 'assets/images/payment-method-icons/amex.svg?asset';
77
import Discover from 'assets/images/payment-method-icons/discover.svg?asset';
8-
import Jcb from 'assets/images/payment-method-icons/jcb.svg?asset';
8+
import Jcb from 'assets/images/cards/jcb.svg?asset';
99
import UnionPay from 'assets/images/cards/unionpay.svg?asset';
1010
import Cartebancaire from 'assets/images/cards/cartes_bancaires.svg?asset';
1111
import { getUPEConfig } from 'wcpay/utils/checkout';

0 commit comments

Comments
 (0)