Initial render of Google Pay's plain button min-width
is 240px
#292
Labels
bug
Something isn't working
min-width
is 240px
#292
Describe the bug
Safari only. With
buttonType="plain"
the stylemin-width=240px
is applied during button's initial render, even though it seems thismin-width
is relevant only topay
button type.To Reproduce
I'm not able to reproduce on Customize your button. It seems selection of button type in dropdown rerenders button and there is no
min-width
.Steps to reproduce:
container
which setswidth
, stylemin-width:240px
is present in Google Paybutton
.Expected behavior
Google Pay button fits into the outer container.
Screenshots
Component information:
@google-pay/button-react
)@google-pay/button-element
)@google-pay/button-angular
)Environment:
The text was updated successfully, but these errors were encountered: