WordPress.org

Make WordPress Core

Ticket #50317: 50317.patch

File 50317.patch, 1.2 KB (added by sabernhardt, 3 months ago)

centering .aligncenter image caption for all screen sizes

  • src/wp-content/themes/twentytwenty/style-rtl.css

     
    12471247        margin-left: auto;
    12481248}
    12491249
     1250.wp-block-image .aligncenter figcaption {
     1251        text-align: center;
     1252}
     1253
    12501254/* Search Form ------------------------------- */
    12511255
    12521256.search-form {
     
    58585862                margin-left: 0;
    58595863        }
    58605864
    5861     .wp-block-image .aligncenter figcaption {
    5862         text-align: center;
    5863     }
    5864 
    58655865        /* BLOCK: SEPARATOR */
    58665866
    58675867        hr.wp-block-separator {
  • src/wp-content/themes/twentytwenty/style.css

     
    12531253        margin-right: auto;
    12541254}
    12551255
     1256.wp-block-image .aligncenter figcaption {
     1257        text-align: center;
     1258}
     1259
    12561260/* Search Form ------------------------------- */
    12571261
    12581262.search-form {
     
    59285932                margin-left: 0;
    59295933        }
    59305934
    5931     .wp-block-image .aligncenter figcaption {
    5932         text-align: center;
    5933     }
    5934 
    59355935        /* BLOCK: SEPARATOR */
    59365936
    59375937        hr.wp-block-separator {