- Timestamp:
- 12/28/2018 09:21:48 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss
r44370 r44371 506 506 //! Image 507 507 .wp-block-image { 508 max-width: 100%; 508 509 509 510 img { … … 511 512 } 512 513 513 &.alignleft, 514 &.alignright { 515 max-width: 100%; 514 .aligncenter { 515 516 @include postContentMaxWidth(); 517 518 @include media(tablet) { 519 margin: 0; 520 width: $size__site-tablet-content; 521 522 img { 523 margin: 0 auto; 524 } 525 } 526 527 @include media(desktop) { 528 width: $size__site-desktop-content; 529 530 img { 531 margin: 0 auto; 532 } 533 } 516 534 } 517 535 518 536 &.alignfull img { 519 537 width: 100vw; 538 max-width: calc( 100% + (2 * #{$size__spacing-unit})); 520 539 521 540 @include media(tablet) { 541 max-width: calc( 125% + 150px ); 522 542 margin-left: auto; 523 543 margin-right: auto;
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)