Make WordPress Core

Changeset 47614


Ignore:
Timestamp:
04/23/2020 03:39:55 PM (5 years ago)
Author:
ianbelanger
Message:

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.

Location:
trunk/src/wp-content/themes/twentytwenty/assets/css
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css

    r47613 r47614  
    903903/* BUTTON STYLE: OUTLINE */
    904904
    905 .editor-styles-wrapper .is-style-outline .wp-block-button__link {
     905.editor-styles-wrapper .is-style-outline .wp-block-button__link,
     906.editor-styles-wrapper .is-style-outline.wp-block-button__link {
    906907    background: none;
    907908    border-color: currentColor;
     
    912913/* BUTTON STYLE: SQUARED */
    913914
    914 .editor-styles-wrapper .is-style-squared .wp-block-button__link {
     915.editor-styles-wrapper .is-style-squared .wp-block-button__link,
     916.editor-styles-wrapper .is-style-squared.wp-block-button__link {
    915917    border-radius: 0;
    916918}
  • trunk/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css

    r47613 r47614  
    903903/* BUTTON STYLE: OUTLINE */
    904904
    905 .editor-styles-wrapper .is-style-outline .wp-block-button__link {
     905.editor-styles-wrapper .is-style-outline .wp-block-button__link,
     906.editor-styles-wrapper .is-style-outline.wp-block-button__link {
    906907    background: none;
    907908    border-color: currentColor;
     
    912913/* BUTTON STYLE: SQUARED */
    913914
    914 .editor-styles-wrapper .is-style-squared .wp-block-button__link {
     915.editor-styles-wrapper .is-style-squared .wp-block-button__link,
     916.editor-styles-wrapper .is-style-squared.wp-block-button__link {
    915917    border-radius: 0;
    916918}
Note: See TracChangeset for help on using the changeset viewer.