Pledge details: Fix button styles and spacing

Fixes #277
This commit is contained in:
Kelly Dwan 2024-09-09 10:44:23 -04:00
parent 7b867baff7
commit 2d789427d9
No known key found for this signature in database
GPG key ID: 8BA5575F3D11575D
2 changed files with 5 additions and 5 deletions

View file

@ -44,7 +44,7 @@ function render( $attributes, $content, $block ) {
$html->next_tag( 'button' );
$html->add_class( 'wp-block-button__link' );
$wrapper_attributes = get_block_wrapper_attributes( [ 'class' => 'wp-block-button is-style-text is-small' ]);
$wrapper_attributes = get_block_wrapper_attributes( [ 'class' => 'wp-block-button is-style-outline is-small' ]);
return sprintf(
'<div %s>%s</div>',
$wrapper_attributes,