- Timestamp:
- 03/12/2022 10:51:52 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss
r48073 r52927 547 547 548 548 // If an image does not have a left/center/right alignment, 549 // it's a direct child of .wp-block-img. If it has no other 550 // alignment added, we want to make sure the image does not 551 // extend beyond the width of the text column. 552 &:not(.alignwide):not(.alignfull) > img { 549 // it's a direct child of .wp-block-image. If it has no other 550 // alignment added, we want to make sure the image and its 551 // caption do not extend beyond the width of the text column. 552 &:not(.alignwide):not(.alignfull) > img, 553 &:not(.alignwide):not(.alignfull) > a > img, 554 &:not(.alignwide):not(.alignfull) > img + figcaption, 555 &:not(.alignwide):not(.alignfull) > a + figcaption { 553 556 @include postContentMaxWidth(); 554 557 } … … 804 807 805 808 // Ensure images do not expand beyond the column. 809 .wp-block-image:not(.alignwide):not(.alignfull) > img, 810 .wp-block-image:not(.alignwide):not(.alignfull) > a > img, 806 811 .wp-block-image > img:not(.alignwide):not(.alignfull), 807 812 .wp-block-image > figure {
Note: See TracChangeset
for help on using the changeset viewer.