mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-01 08:41:18 +03:00
Theme: Prevent button block styles from bleeding into pledge form
This fixes an issue where adding the button block classes to the pledge form was creating double-button styles. This also fixes a mistakenly removed class on the remove contributor button.
Follow up to 5d76b97557
This commit is contained in:
parent
0b1e6114b2
commit
4ef41983af
|
@ -72,7 +72,7 @@ add_action(
|
||||||
<td>
|
<td>
|
||||||
<div class="wp-block-button is-style-outline is-small is-destructive">
|
<div class="wp-block-button is-style-outline is-small is-destructive">
|
||||||
<button
|
<button
|
||||||
class="button-link button-link-delete wp-block-button__link"
|
class="button button-link button-link-delete wp-block-button__link"
|
||||||
data-action="remove-contributor"
|
data-action="remove-contributor"
|
||||||
data-contributor-post="{{ data.contributorId }}"
|
data-contributor-post="{{ data.contributorId }}"
|
||||||
data-confirm="{{ data.removeConfirm }}"
|
data-confirm="{{ data.removeConfirm }}"
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
body.home {
|
||||||
.wp-block-button {
|
.wp-block-button {
|
||||||
@extend .button;
|
@extend .button;
|
||||||
|
|
||||||
|
@ -16,6 +17,7 @@
|
||||||
color: $color__link-button;
|
color: $color__link-button;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Add "danger" button styles, red text on grey background.
|
// Add "danger" button styles, red text on grey background.
|
||||||
.button.button-danger {
|
.button.button-danger {
|
||||||
|
|
Loading…
Reference in a new issue