diff --git a/projects/plugins/jetpack/changelog/try-remove-default-button-style b/projects/plugins/jetpack/changelog/try-remove-default-button-style new file mode 100644 index 0000000000000..d0c62277f7f69 --- /dev/null +++ b/projects/plugins/jetpack/changelog/try-remove-default-button-style @@ -0,0 +1,4 @@ +Significance: minor +Type: bugfix + +Button block: remove default CSS that is overriding core + theme styles. diff --git a/projects/plugins/jetpack/extensions/blocks/button/view.scss b/projects/plugins/jetpack/extensions/blocks/button/view.scss index 6b3dea19115cd..bfad05f2731ea 100644 --- a/projects/plugins/jetpack/extensions/blocks/button/view.scss +++ b/projects/plugins/jetpack/extensions/blocks/button/view.scss @@ -1,7 +1,3 @@ .amp-wp-article .wp-block-jetpack-button { color: #ffffff; } - -.wp-block-jetpack-button button { - border: inherit; -} diff --git a/projects/plugins/jetpack/modules/contact-form/css/grunion.css b/projects/plugins/jetpack/modules/contact-form/css/grunion.css index 405898d6bbcfb..c2f5544700fc4 100644 --- a/projects/plugins/jetpack/modules/contact-form/css/grunion.css +++ b/projects/plugins/jetpack/modules/contact-form/css/grunion.css @@ -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; }