WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/26/2019 07:00:46 PM (8 weeks ago)
Author:
SergeyBiryukov
Message:

Twenty Nineteen: Make sure center-aligned images in columns do not break beyond the column boundaries.

Props kjellr.
Fixes #47937.

File:
1 edited

Legend:

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

    r45761 r45897  
    789789
    790790        // Ensure images do not expand beyond the column.
    791         .wp-block-image > img:not(.alignwide):not(.alignfull) {
     791        .wp-block-image > img:not(.alignwide):not(.alignfull),
     792        .wp-block-image > figure {
    792793
    793794            @include media(tablet) {
Note: See TracChangeset for help on using the changeset viewer.