Skip to content

Border radius style option for PayPal Button is not applied to every corners #759

@azuken

Description

@azuken

I implemented Braintree PayPal button in an e-commerce Nuxt app, and when I try to add borderRadius option to 0, it is applied for top-left and bottom-left corners, but not top-right and bottom-right corner ; it still have a 3px border-radius.

Here is my implementation

    componentInstance.value = paypal.Buttons({
     [...],
      style: {
        borderRadius: 0,
        color: isDarkMode.value ? ButtonColorOption.Silver : ButtonColorOption.Black,
        height: 45,
        label: ButtonLabelOption.Pay,
        shape: ButtonShapeOption.Rect,
        tagline: false,
      },
    });

And the result :

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions