Making WordPress.org

Changeset 7529


Ignore:
Timestamp:
07/30/2018 06:58:38 AM (6 years ago)
Author:
tellyworth
Message:

Gutenberg: move styles from [7528] to theme stylesheet.

See #3703

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/functions.php

    r7528 r7529  
    4949            'wp.data.dispatch( "core/nux" ).disableTips();'
    5050        );
    51         wp_add_inline_style(
    52             'buttons',
    53             '.is-button.is-large, .editor-post-publish-panel__toggle { display: none !important; }
    54             .editor-post-preview { visibility: hidden; }'
    55         );
    5651    } );
    5752    add_action( 'wp_enqueue_scripts', 'gutenberg_editor_scripts_and_styles' );
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/style.css

    r7520 r7529  
    953953}
    954954
     955.gutenberg__editor .is-button.is-large,
     956.gutenberg__editor .editor-post-publish-panel__toggle,
     957.gutenberg__editor .button-link-delete {
     958    display: none !important;
     959}
     960
     961.gutenberg__editor .editor-post-preview {
     962    visibility: hidden;
     963}
     964
     965.gutenberg__editor .editor-post-saved-state {
     966    visibility: hidden;
     967}
     968
    955969/*--------------------------------------------------------------
    956970# WP.org Header
Note: See TracChangeset for help on using the changeset viewer.