#quantum1125-button-styling

1 messages · Page 1 of 1 (latest)

jaunty aspen
celest shuttle
#

as you can see, i tried to amend the padding myself to no avail

jaunty aspen
#

hmmm, gimme a sec to test this out

celest shuttle
#

i am very curious

jaunty aspen
#

@celest shuttle which guide are you following? Cause my own sample doesn't have the PaymentRequestButton class on the div element

celest shuttle
#

i had manually added it, just realized but still doesn't fix the problem once removed

#

<PaymentRequestButtonElement 
    options={{paymentRequest,
                 style: { paymentRequestButton: {
                             theme: "light",
                             height: "40px",
                             type: "buy"
                        }
             }}}                         
 />

jaunty aspen
#

i suspect you may have some other css styling which was accidentally applied to a div element. For context, mine looks like this :

#

check the developers tools to see where the 8px / 10 px padding is being applied

#

i added 10px padding to the div myself