Make WordPress Core

Changeset 58909


Ignore:
Timestamp:
08/18/2024 09:13:31 AM (8 weeks ago)
Author:
karmatosed
Message:

Twenty Twenty: Fixes image block caption alignment not being centered on mobile.

The image block caption was not being centered on mobile. This was set to start at 1000 pixels and wider. This might have been intended to prevent wrapping, but you can resolve this by unselecting alignment.

Props spanglishwebs, sabernhardt, sudipatel007, shailu25.
Fixes #50317.

Location:
trunk/src/wp-content/themes/twentytwenty
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/style-rtl.css

    r58908 r58909  
    12561256}
    12571257
     1258.aligncenter figcaption {
     1259    text-align: center;
     1260}
     1261
    12581262/* Search Form ------------------------------- */
    12591263
     
    59525956    }
    59535957
    5954     .wp-block-image .aligncenter figcaption {
    5955         text-align: center;
    5956     }
    5957 
    59585958    /* BLOCK: SEPARATOR */
    59595959
  • trunk/src/wp-content/themes/twentytwenty/style.css

    r58908 r58909  
    12621262}
    12631263
     1264.aligncenter figcaption {
     1265    text-align: center;
     1266}
     1267
    12641268/* Search Form ------------------------------- */
    12651269
     
    60246028    }
    60256029
    6026     .wp-block-image .aligncenter figcaption {
    6027         text-align: center;
    6028     }
    6029 
    60306030    /* BLOCK: SEPARATOR */
    60316031
Note: See TracChangeset for help on using the changeset viewer.