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.
This commit is contained in:
Kelly Dwan 2019-12-09 11:15:39 -05:00
parent fda5842e86
commit 619af97bd1
No known key found for this signature in database
GPG key ID: 8BA5575F3D11575D
7 changed files with 7 additions and 8 deletions

View file

@ -35,6 +35,7 @@ defined( 'WPINC' ) || die();
<input
type="submit"
class="button"
name="get_manage_pledge_link"
value="<?php esc_attr_e( 'Submit', 'wporg-5ftf' ); ?>"
/>