mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 13:44:42 +08:00
🐛 Fix general preview button shape
This commit is contained in:
parent
c780b025a3
commit
7f9cbd6f58
3 changed files with 24 additions and 3 deletions
|
@ -216,6 +216,7 @@ class ApplepayButton {
|
|||
}
|
||||
|
||||
const $wrapper = jQuery( '#' + wrapper );
|
||||
$wrapper.removeClass( 'ppcp-button-rect ppcp-button-pill' );
|
||||
$wrapper.addClass( 'ppcp-button-' + ppcpStyle.shape );
|
||||
|
||||
if ( ppcpStyle.height ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue