Bundled Themes: Twenty Twenty button styles produce inconsistent output and cannot be edited.
Fixes the issue with button styles not working when the Gutenberg plugin is activated while maintaining backwards compatibility. Props nrqsnchz, poena, kjellr. Fixes #49896. git-svn-id: https://develop.svn.wordpress.org/trunk@47614 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c1bb2c2f74
commit
e3a8f680d4
@ -902,7 +902,8 @@ hr.wp-block-separator.is-style-dots::before {
|
||||
|
||||
/* BUTTON STYLE: OUTLINE */
|
||||
|
||||
.editor-styles-wrapper .is-style-outline .wp-block-button__link {
|
||||
.editor-styles-wrapper .is-style-outline .wp-block-button__link,
|
||||
.editor-styles-wrapper .is-style-outline.wp-block-button__link {
|
||||
background: none;
|
||||
border-color: currentColor;
|
||||
color: #cd2653;
|
||||
@ -911,7 +912,8 @@ hr.wp-block-separator.is-style-dots::before {
|
||||
|
||||
/* BUTTON STYLE: SQUARED */
|
||||
|
||||
.editor-styles-wrapper .is-style-squared .wp-block-button__link {
|
||||
.editor-styles-wrapper .is-style-squared .wp-block-button__link,
|
||||
.editor-styles-wrapper .is-style-squared.wp-block-button__link {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
|
@ -902,7 +902,8 @@ hr.wp-block-separator.is-style-dots::before {
|
||||
|
||||
/* BUTTON STYLE: OUTLINE */
|
||||
|
||||
.editor-styles-wrapper .is-style-outline .wp-block-button__link {
|
||||
.editor-styles-wrapper .is-style-outline .wp-block-button__link,
|
||||
.editor-styles-wrapper .is-style-outline.wp-block-button__link {
|
||||
background: none;
|
||||
border-color: currentColor;
|
||||
color: #cd2653;
|
||||
@ -911,7 +912,8 @@ hr.wp-block-separator.is-style-dots::before {
|
||||
|
||||
/* BUTTON STYLE: SQUARED */
|
||||
|
||||
.editor-styles-wrapper .is-style-squared .wp-block-button__link {
|
||||
.editor-styles-wrapper .is-style-squared .wp-block-button__link,
|
||||
.editor-styles-wrapper .is-style-squared.wp-block-button__link {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user