From 2d789427d901ac62f2982f0affd1984e871a0586 Mon Sep 17 00:00:00 2001 From: Kelly Dwan Date: Mon, 9 Sep 2024 10:44:23 -0400 Subject: [PATCH] Pledge details: Fix button styles and spacing Fixes #277 --- themes/wporg-5ftf-2024/patterns/single-5ftf-pledge.php | 8 ++++---- themes/wporg-5ftf-2024/src/pledge-edit-button/index.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/themes/wporg-5ftf-2024/patterns/single-5ftf-pledge.php b/themes/wporg-5ftf-2024/patterns/single-5ftf-pledge.php index 6159a40..f09d436 100644 --- a/themes/wporg-5ftf-2024/patterns/single-5ftf-pledge.php +++ b/themes/wporg-5ftf-2024/patterns/single-5ftf-pledge.php @@ -44,14 +44,14 @@
- -
+ +
- +
-
+
diff --git a/themes/wporg-5ftf-2024/src/pledge-edit-button/index.php b/themes/wporg-5ftf-2024/src/pledge-edit-button/index.php index 4f2d2fb..ae2cf00 100644 --- a/themes/wporg-5ftf-2024/src/pledge-edit-button/index.php +++ b/themes/wporg-5ftf-2024/src/pledge-edit-button/index.php @@ -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( '
%s
', $wrapper_attributes,