From 619af97bd10ca0317dc004ac7d42fb739dd56a20 Mon Sep 17 00:00:00 2001 From: Kelly Dwan Date: Mon, 9 Dec 2019 11:15:39 -0500 Subject: [PATCH] Forms: Use `button` class directly on buttons for consistent display Adding the `button` mixin into `input[type="submit"] caused conflicts with the other button classes (`.button-primary`) due to specificity. The button classes should be used on all buttons instead. This also updates which button on the Manage Pledge form is the "primary" action, since it's easy to skip the Update button when it's not primary. --- plugins/wporg-5ftf/views/form-pledge-confirm-email.php | 1 + plugins/wporg-5ftf/views/form-pledge-manage.php | 1 + plugins/wporg-5ftf/views/form-pledge-new.php | 1 + plugins/wporg-5ftf/views/manage-contributors.php | 2 +- plugins/wporg-5ftf/views/modal-request-manage-link.php | 1 + themes/wporg-5ftf/css/objects/_buttons.scss | 4 ---- themes/wporg-5ftf/css/objects/_pledge-form.scss | 5 ++--- 7 files changed, 7 insertions(+), 8 deletions(-) diff --git a/plugins/wporg-5ftf/views/form-pledge-confirm-email.php b/plugins/wporg-5ftf/views/form-pledge-confirm-email.php index 5ec9d65..052256e 100755 --- a/plugins/wporg-5ftf/views/form-pledge-confirm-email.php +++ b/plugins/wporg-5ftf/views/form-pledge-confirm-email.php @@ -67,6 +67,7 @@ use WP_Post;

diff --git a/plugins/wporg-5ftf/views/form-pledge-manage.php b/plugins/wporg-5ftf/views/form-pledge-manage.php index bc74004..ba4a3ac 100644 --- a/plugins/wporg-5ftf/views/form-pledge-manage.php +++ b/plugins/wporg-5ftf/views/form-pledge-manage.php @@ -29,6 +29,7 @@ require __DIR__ . '/partial-result-messages.php';