Make WordPress Core


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

Twenty Nineteen: Fixes and improvements.

This commit brings over several changes that occurred upstream in the theme’s GitHub repository into core.

Props kjellr, allancole.

See #45424.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss

    r44199 r44201  
    364364
    365365                        blockquote {
    366                                 margin-left: 0;
     366                                margin: $size__spacing-unit 0;
    367367                                padding: 0;
    368368                                text-align: left;
    369369                                max-width: 100%;
     370
     371                                p:first-child {
     372                                        margin-top: 0;
     373                                }
    370374                        }
    371375                }
    … …  
    401405
    402406                        blockquote {
    403                                 max-width: calc(100% - (2 * #{$size__spacing-unit}));
     407                                max-width: 100%;
    404408                                color: $color__background-body;
    405409                                padding-left: 0;
    406410                                margin-left: $size__spacing-unit;
     411                                margin-right: $size__spacing-unit;
    407412
    408413                                &.has-text-color p,
    … …  
    419424                                        margin-left: 0;
    420425                                        margin-right: 0;
     426                                }
     427                        }
     428
     429                        &.alignright,
     430                        &.alignleft {
     431                                @include media(tablet) {
     432                                        padding: $size__spacing-unit calc(2 * #{$size__spacing-unit});
    421433                                }
    422434                        }
    … …  
    542554
    543555                        @include media(tablet) {
    544                                 padding: $size__spacing-unit;
     556                                padding: $size__spacing-unit calc(2 * #{$size__spacing-unit});
    545557                        }
    546558                }
Note: See TracChangeset for help on using the changeset viewer.