mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-07 19:25:44 +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
2 changed files with 16 additions and 14 deletions
|
@ -1,19 +1,21 @@
|
|||
.wp-block-button {
|
||||
@extend .button;
|
||||
body.home {
|
||||
.wp-block-button {
|
||||
@extend .button;
|
||||
|
||||
display: inline-block;
|
||||
height: auto;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
display: inline-block;
|
||||
height: auto;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.wp-block-button__link {
|
||||
background: none;
|
||||
color: $color__link-button;
|
||||
text-decoration: none;
|
||||
|
||||
&:hover,
|
||||
&:visited {
|
||||
.wp-block-button__link {
|
||||
background: none;
|
||||
color: $color__link-button;
|
||||
text-decoration: none;
|
||||
|
||||
&:hover,
|
||||
&:visited {
|
||||
color: $color__link-button;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue