WordPress.org

Make WordPress Core

Ticket #45246: 45246.1.patch

File 45246.1.patch, 3.3 KB (added by laurelfulford, 3 years ago)
  • src/wp-content/themes/twentyseventeen/assets/css/blocks.css

     
    9797        width: 100%;
    9898}
    9999
    100 /* Cover Image */
     100/* Cover */
    101101
    102102.wp-block-cover-image.alignright,
     103.wp-block-cover.alignright,
    103104.wp-block-cover-image.alignleft,
    104 .wp-block-cover-image.aligncenter {
     105.wp-block-cover.alignleft,
     106.wp-block-cover-image.aligncenter,
     107.wp-block-cover.aligncenter {
    105108        display: flex;
    106109}
    107110
     
    219222        max-width: 100px;
    220223}
    221224
     225/* Media & Text */
     226
     227.wp-block-media-text {
     228        margin-bottom: 1.5em;
     229}
     230
     231.wp-block-media-text *:last-child {
     232        margin-bottom: 0;
     233}
     234
    222235/*--------------------------------------------------------------
    2232365.0 Blocks - Widgets
    224237--------------------------------------------------------------*/
    225238
     239/* Archives, Categories & Latest Posts */
     240
     241.wp-block-archives.aligncenter,
     242.wp-block-categories.aligncenter,
     243.wp-block-latest-posts.aligncenter {
     244        list-style-position: inside;
     245        text-align: center;
     246}
     247
    226248/* Comments */
    227249
    228250.wp-block-latest-comments article {
  • src/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css

     
    2525        font-size: 0.9375rem;
    2626}
    2727
     28.editor-default-block-appender input[type="text"].editor-default-block-appender__content {
     29        font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
     30}
     31
    2832.edit-post-visual-editor .editor-block-list__block {
    2933        color: #333;
    3034}
     
    346350
    347351/* Main column width */
    348352
    349 body.gutenberg-editor-page .edit-post-visual-editor .editor-post-title__block,
    350 body.gutenberg-editor-page .edit-post-visual-editor .editor-default-block-appender,
    351 body.gutenberg-editor-page .edit-post-visual-editor .editor-block-list__block {
    352         max-width: 740px;
     353.editor-styles-wrapper {
     354        max-width: 100% !important; /* Override where editor-style.css is affecting this. */
    353355}
    354356
     357.wp-block {
     358        max-width: 674px; /* Based on one-column post width; 644px + 30px to account for padding. */
     359}
     360
    355361/* Background color */
    356362
    357363.gutenberg-editor-page .editor-block-list__block {
     
    6957015.0 Blocks - Layout Elements
    696702--------------------------------------------------------------*/
    697703
    698 /* Separators */
     704/* Separator */
    699705
    700706.edit-post-visual-editor .wp-block-separator {
    701707        border: 0;
     
    721727        transition: background-color 0.2s ease-in-out;
    722728        white-space: nowrap;
    723729}
     730
     731/* Media & Text */
     732
     733.wp-block-media-text *:last-child {
     734        margin-bottom: 0;
     735}
     736
    724737/*--------------------------------------------------------------
    7257386.0 Blocks - Widgets
    726739--------------------------------------------------------------*/
    727740
     741/* Archives, Categories & Latest Posts */
     742
     743[data-align="center"] .wp-block-archives ul,
     744[data-align="center"] .wp-block-categories ul,
     745[data-align="center"] .wp-block-latest-posts ul {
     746        list-style-position: inside;
     747}
     748
    728749/* Latest Comments */
    729750
    730751.editor-block-list__block ol.wp-block-latest-comments > li:before {