[wp-trac] [WordPress Trac] #49892: Twenty Sixteen: Gutenberg Button block do not overwrite theme style
WordPress Trac
noreply at wordpress.org
Wed Nov 3 05:49:38 UTC 2021
#49892: Twenty Sixteen: Gutenberg Button block do not overwrite theme style
-----------------------------------------+-----------------------------
Reporter: thetwentyseven2727 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Bundled Theme | Version: 5.4
Severity: normal | Resolution:
Keywords: has-screenshots needs-patch | Focuses: css
-----------------------------------------+-----------------------------
Changes (by sabernhardt):
* keywords: 2nd-opinion has-screenshots => has-screenshots needs-patch
* milestone: Awaiting Review => Future Release
Comment:
Welcome and thanks for the report!
Yes, `.entry-content .wp-block-button__link` overrides the gradient
backgrounds from the editor stylesheet.
r44200 switched the background and text color styles from `.wp-block-
button .wp-block-button__link` to `.entry-content .wp-block-button__link`
within blocks.css.
I think it might be better if that selector is reduced to `.wp-block-
button__link`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49892#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list