Make WordPress Core

Ticket #63386: 63386.center.patch

File 63386.center.patch, 814 bytes (added by sabernhardt, 5 weeks ago)

corrects center alignment in editor (updates selectors, adds text-align to the 3 blocks, and removes padding for Archives block)

  • src/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css

     
    777777/* Archives, Categories & Latest Posts */
    778778
    779779[data-align="center"] .wp-block-archives ul,
     780[data-align="center"] ul.wp-block-categories,
    780781[data-align="center"] .wp-block-categories ul,
     782[data-align="center"] ul.wp-block-latest-posts,
    781783[data-align="center"] .wp-block-latest-posts ul {
    782784        list-style-position: inside;
     785        text-align: center;
    783786}
    784787
     788[data-align="center"] ul.wp-block-archives {
     789        padding: 0;
     790}
     791
    785792/* Latest Comments */
    786793
    787794.wp-block-latest-comments article {