- Timestamp:
- 05/20/2024 03:12:41 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss
r57712 r58178 554 554 } 555 555 556 // If an image does not have a left/center/right alignment, 557 // it's a direct child of .wp-block-image. If it has no other 558 // alignment added, we want to make sure the image and its 556 // If an image does not have a left/center/right alignment, 557 // it's a direct child of .wp-block-image. If it has no other 558 // alignment added, we want to make sure the image and its 559 559 // caption do not extend beyond the width of the text column. 560 560 &:not(.alignwide):not(.alignfull) > img, … … 841 841 .wp-block-group { 842 842 843 // When the Group block is standard/wide, we need to prevent full-aligned 843 // When the Group block is standard/wide, we need to prevent full-aligned 844 844 // child blocks from expanding out of their container. 845 845 &:not(.alignfull) > .wp-block-group__inner-container > .alignfull, … … 882 882 } 883 883 884 // If the Group block is full-width, it does not need this extra padding. 884 // If the Group block is full-width, it does not need this extra padding. 885 885 &.alignfull { 886 886 padding-left: 0; … … 897 897 width: 100%; 898 898 max-width: 100%; 899 899 900 900 @include media(tablet) { 901 901 width: calc( 100% + #{$size__spacing-unit * 2} ); … … 905 905 } 906 906 } 907 908 907 } 909 908
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)