Ticket #45907: 45907-2.patch
File 45907-2.patch, 1.4 KB (added by , 5 years ago) |
---|
-
wp-content/themes/twentynineteen/sass/blocks/_blocks.scss
89 89 } 90 90 } 91 91 92 .entry-content > p > img { 93 94 &.alignright { 95 /*rtl:ignore*/ 96 float: right; 97 max-width: calc(5 * (100vw / 12)); 98 margin-top: 0; 99 margin-right: 0; 100 /*rtl:ignore*/ 101 margin-left: $size__spacing-unit; 102 103 @include media(desktop) { 104 position: absolute; 105 left: calc(7.5 * (100vw / 12)); 106 } 107 } 108 } 109 92 110 .entry .entry-content > *, 93 111 .entry .entry-summary > * { 94 112 -
wp-content/themes/twentynineteen/style.css
5340 5340 } 5341 5341 } 5342 5342 5343 .entry-content > p > img.alignright { 5344 /*rtl:ignore*/ 5345 float: right; 5346 max-width: calc(5 * (100vw / 12)); 5347 margin-top: 0; 5348 margin-right: 0; 5349 /*rtl:ignore*/ 5350 margin-left: 1rem; 5351 } 5352 5353 @media only screen and (min-width: 1168px) { 5354 .entry-content > p > img.alignright { 5355 position: absolute; 5356 left: calc(7.5 * (100vw / 12)); 5357 } 5358 } 5359 5343 5360 .entry .entry-content > * > *:first-child, 5344 5361 .entry .entry-summary > * > *:first-child { 5345 5362 margin-top: 0;