Skip to content

Commit

Permalink
Remove border CSS from button block (#23734)
Browse files Browse the repository at this point in the history
  • Loading branch information
jffng authored Apr 11, 2022
1 parent 3ac8553 commit 9b3c155
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: bugfix

Button block: remove default CSS that is overriding core + theme styles.
4 changes: 0 additions & 4 deletions projects/plugins/jetpack/extensions/blocks/button/view.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
.amp-wp-article .wp-block-jetpack-button {
color: #ffffff;
}

.wp-block-jetpack-button button {
border: inherit;
}
6 changes: 0 additions & 6 deletions projects/plugins/jetpack/modules/contact-form/css/grunion.css
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,6 @@
flex: 0 0 100%;
}

.wp-block-jetpack-button button {
padding: 20px 30px;
border: inherit;
font: inherit;
}

.wp-block-jetpack-button.alignright button {
float: right;
}
Expand Down

0 comments on commit 9b3c155

Please sign in to comment.