🐛 Fix general preview button shape

This commit is contained in:
Philipp Stracker 2024-07-15 13:16:08 +02:00
parent c780b025a3
commit 7f9cbd6f58
No known key found for this signature in database
3 changed files with 24 additions and 3 deletions

View file

@ -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 ) {