- Timestamp:
- 01/07/2019 04:05:48 PM (7 years ago)
- Location:
- branches/5.0
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0
-
branches/5.0/src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss
r44424 r44428 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.