mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-07 19:25:44 +03:00
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:
parent
fda5842e86
commit
619af97bd1
7 changed files with 7 additions and 8 deletions
|
@ -54,9 +54,8 @@
|
|||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
input[type="submit"],
|
||||
.button-primary {
|
||||
|
||||
.button {
|
||||
display: inline-block;
|
||||
height: auto;
|
||||
padding: ms(-3) ms(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue