File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export function createPPCPApple(): void {
8
8
// creating a paypal-apple payment div inside express payment container
9
9
const ppcpAppleDiv = document . createElement ( 'div' ) ;
10
10
ppcpAppleDiv . id = 'ppcp-apple-express-payment' ;
11
- ppcpAppleDiv . className = 'ppcp-apple-express-payment' ;
11
+ ppcpAppleDiv . className = 'ppcp-apple-express-payment express-payment ' ;
12
12
ppcpAppleDiv . dataset . testid = 'ppcp-apple-express-payment' ;
13
13
14
14
const button = document . createElement ( 'button' ) ;
Original file line number Diff line number Diff line change @@ -18,11 +18,13 @@ export async function ppcpOnLoad(payment: IExpressPayPaypalCommercePlatformButto
18
18
const paypalButtonDivId = 'ppcp-paypal-express-payment-button' ;
19
19
paypalButtonDiv . id = paypalButtonDivId ;
20
20
paypalButtonDiv . dataset . testid = paypalButtonDivId ;
21
+ paypalButtonDiv . className = 'express-payment' ;
21
22
22
23
const payLaterButtonDiv = document . createElement ( 'div' ) ;
23
24
const payLaterButtonDivId = 'ppcp-paylater-express-payment-button' ;
24
25
payLaterButtonDiv . id = payLaterButtonDivId ;
25
26
payLaterButtonDiv . dataset . testid = payLaterButtonDivId ;
27
+ payLaterButtonDiv . className = 'express-payment' ;
26
28
27
29
// creating a paypal payment div inside express payment container
28
30
const paypalDiv = document . createElement ( 'div' ) ;
Original file line number Diff line number Diff line change 5
5
6
6
.ppcp-express-payment {
7
7
width : auto;
8
+ display : contents;
8
9
}
9
10
10
11
.ppcp-apple-pay-button {
You can’t perform that action at this time.
0 commit comments