diff --git a/src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss b/src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss index 33788b7bf4..7a13bb8ef8 100644 --- a/src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss +++ b/src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss @@ -245,6 +245,14 @@ &.has-custom-font-size .wp-block-button__link { font-size: 1em; } + + &[style*="font-weight"] .wp-block-button__link { + font-weight: inherit; + } + + &[style*="text-decoration"] .wp-block-button__link { + text-decoration: inherit; + } } //! Latest posts, categories, archives diff --git a/src/wp-content/themes/twentynineteen/style-editor.css b/src/wp-content/themes/twentynineteen/style-editor.css index c736c6d4a3..c8714f08ac 100644 --- a/src/wp-content/themes/twentynineteen/style-editor.css +++ b/src/wp-content/themes/twentynineteen/style-editor.css @@ -1027,6 +1027,16 @@ figcaption, color: #0073aa; } +.wp-block-buttons[style*="font-weight"] .wp-block-button__link, +.wp-block-button[style*="font-weight"] .wp-block-button__link { + font-weight: inherit; +} + +.wp-block-buttons[style*="text-decoration"] .wp-block-button__link, +.wp-block-button[style*="text-decoration"] .wp-block-button__link { + text-decoration: inherit; +} + .wp-block-search .wp-block-search__button { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-size: 0.88889em; diff --git a/src/wp-content/themes/twentynineteen/style-editor.scss b/src/wp-content/themes/twentynineteen/style-editor.scss index 3695af6a36..985892cf46 100644 --- a/src/wp-content/themes/twentynineteen/style-editor.scss +++ b/src/wp-content/themes/twentynineteen/style-editor.scss @@ -425,6 +425,18 @@ figcaption, } } +.wp-block-buttons, +.wp-block-button { + + &[style*="font-weight"] .wp-block-button__link { + font-weight: inherit; + } + + &[style*="text-decoration"] .wp-block-button__link { + text-decoration: inherit; + } +} + .wp-block-search { .wp-block-search__button { @include font-family( $font__heading ); diff --git a/src/wp-content/themes/twentynineteen/style-rtl.css b/src/wp-content/themes/twentynineteen/style-rtl.css index 75eddee585..d4595fc588 100644 --- a/src/wp-content/themes/twentynineteen/style-rtl.css +++ b/src/wp-content/themes/twentynineteen/style-rtl.css @@ -5569,6 +5569,16 @@ body.page .main-navigation { font-size: 1em; } +.entry .entry-content .wp-block-buttons[style*="font-weight"] .wp-block-button__link, +.entry .entry-content .wp-block-button[style*="font-weight"] .wp-block-button__link { + font-weight: inherit; +} + +.entry .entry-content .wp-block-buttons[style*="text-decoration"] .wp-block-button__link, +.entry .entry-content .wp-block-button[style*="text-decoration"] .wp-block-button__link { + text-decoration: inherit; +} + .entry .entry-content .wp-block-archives, .entry .entry-content .wp-block-categories, .entry .entry-content .wp-block-latest-posts { diff --git a/src/wp-content/themes/twentynineteen/style.css b/src/wp-content/themes/twentynineteen/style.css index 399577b0d7..793bdae2e8 100644 --- a/src/wp-content/themes/twentynineteen/style.css +++ b/src/wp-content/themes/twentynineteen/style.css @@ -5581,6 +5581,16 @@ body.page .main-navigation { font-size: 1em; } +.entry .entry-content .wp-block-buttons[style*="font-weight"] .wp-block-button__link, +.entry .entry-content .wp-block-button[style*="font-weight"] .wp-block-button__link { + font-weight: inherit; +} + +.entry .entry-content .wp-block-buttons[style*="text-decoration"] .wp-block-button__link, +.entry .entry-content .wp-block-button[style*="text-decoration"] .wp-block-button__link { + text-decoration: inherit; +} + .entry .entry-content .wp-block-archives, .entry .entry-content .wp-block-categories, .entry .entry-content .wp-block-latest-posts {