WordPress.org

Make WordPress Core

Ticket #45245: 45245.patch

File 45245.patch, 2.1 KB (added by laurelfulford, 3 years ago)
  • src/wp-content/themes/twentysixteen/css/blocks.css

     
    7676        width: 100%;
    7777}
    7878
     79/* Cover */
     80
     81.wp-block-cover-image.aligncenter,
     82.wp-block-cover.aligncenter {
     83        display: flex;
     84}
     85
    7986/* File */
    8087
    8188.wp-block-file .wp-block-file__button {
     
    240247        max-width: 100%;
    241248}
    242249
     250/* Media & Text */
     251
     252.wp-block-media-text {
     253        margin-bottom: 1.75em;
     254}
     255
    243256/*--------------------------------------------------------------
    2442575.0 Blocks - Widget Blocks
    245258--------------------------------------------------------------*/
    246259
     260/* Archives, Categories & Latest Posts */
     261
     262.wp-block-archives.aligncenter,
     263.wp-block-categories.aligncenter,
     264.wp-block-latest-posts.aligncenter {
     265        text-align: center;
     266}
     267
    247268/* Latest Comments */
    248269
    249270.wp-block-latest-comments__comment-meta a {
  • src/wp-content/themes/twentysixteen/css/editor-blocks.css

     
    2020
    2121.edit-post-visual-editor .editor-block-list__block,
    2222.editor-default-block-appender input[type="text"].editor-default-block-appender__content {
    23         color: #1a1a1a;
    2423        font-family: Merriweather, Georgia, serif;
    2524        font-size: 16px;
    2625        font-size: 1rem;
     
    173172
    174173/* Main column width */
    175174
    176 body.gutenberg-editor-page .edit-post-visual-editor .editor-post-title__block,
    177 body.gutenberg-editor-page .edit-post-visual-editor .editor-default-block-appender,
    178 body.gutenberg-editor-page .edit-post-visual-editor .editor-block-list__block {
    179         max-width: 630px; /* 600px + 30px for padding; should be 840px for pages */
     175.editor-styles-wrapper {
     176        max-width: 100% !important; /* Override where editor-style.css is affecting this */
    180177}
    181178
     179.wp-block {
     180        max-width: 630px; /* 600px + 30px to account for padding. */
     181}
     182
    182183/* Link styles */
    183184
    184185.edit-post-visual-editor a,