Make WordPress Core

Changeset 44202


Ignore:
Timestamp:
12/14/2018 10:28:18 PM (8 years ago)
Author:
desrosj
Message:

Twenty Nineteen: Fixes and improvements.

This commit fixes the final differences between the version of Twenty Nineteen in core and the one in GitHub. The two are now identical.

See #45424.

Location:
branches/5.0/src/wp-content/themes/twentynineteen
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/src/wp-content/themes/twentynineteen/functions.php

    r44196 r44202  
    247247        ?>
    248248        <script>
    249                 /(trident|msie)/i.test(navigator.userAgent)&&document.getElementById&&window.addEventListener&&window.addEventListener("hashchange",function(){var t,e=location.hash.substring(1);/^[A-z0-9_-]+$/.test(e)&&(t=document.getElementById(e))&&(/^(?:a|select|input|button|textarea)$/i.test(t.tagName)||(t.tabIndex=-1),t.focus())},!1);
     249        /(trident|msie)/i.test(navigator.userAgent)&&document.getElementById&&window.addEventListener&&window.addEventListener("hashchange",function(){var t,e=location.hash.substring(1);/^[A-z0-9_-]+$/.test(e)&&(t=document.getElementById(e))&&(/^(?:a|select|input|button|textarea)$/i.test(t.tagName)||(t.tabIndex=-1),t.focus())},!1);
    250250        </script>
    251251        <?php
  • branches/5.0/src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss

    r44201 r44202  
    429429                        &.alignright,
    430430                        &.alignleft {
     431
    431432                                @include media(tablet) {
    432433                                        padding: $size__spacing-unit calc(2 * #{$size__spacing-unit});
  • branches/5.0/src/wp-content/themes/twentynineteen/style-editor.css

    r44201 r44202  
    333333  width: 100%;
    334334  max-width: 100%;
     335  padding: calc(1.375 * 1rem);
     336}
     337
     338.wp-block[data-type="core/cover"][data-align="left"] .wp-block-cover p,
     339.wp-block[data-type="core/cover"][data-align="right"] .wp-block-cover p {
     340  padding-left: 0;
     341  padding-right: 0;
    335342}
    336343
     
    338345  .wp-block[data-type="core/cover"][data-align="left"] .wp-block-cover,
    339346  .wp-block[data-type="core/cover"][data-align="right"] .wp-block-cover {
    340     padding: 1rem;
     347    padding: calc(2.75 * 1rem) calc(2.75 * 1rem) calc(3.125 * 1rem);
    341348  }
    342349}
  • branches/5.0/src/wp-content/themes/twentynineteen/style-editor.scss

    r44193 r44202  
    295295                width: 100%;
    296296                max-width: 100%;
    297         }
    298 
    299         @include media(tablet) {
    300 
    301                 .wp-block-cover {
    302                         padding: $size__spacing-unit;
     297                padding: calc(1.375 * #{$size__spacing-unit});
     298
     299                p {
     300                        padding-left: 0;
     301                        padding-right: 0;
     302                }
     303
     304                @include media(tablet) {
     305                        padding: calc(2.75 * #{$size__spacing-unit}) calc(2.75 * #{$size__spacing-unit}) calc(3.125 * #{$size__spacing-unit});
    303306                }
    304307        }
  • branches/5.0/src/wp-content/themes/twentynineteen/template-parts/post/author-bio.php

    r44199 r44202  
    1414                        <?php
    1515                        printf(
    16                         /* translators: %s: post author */
     16                                /* translators: %s: post author */
    1717                                __( 'Published by %s', 'twentynineteen' ),
    1818                                esc_html( get_the_author() )
Note: See TracChangeset for help on using the changeset viewer.