Make WordPress Core

Ticket #45944: 45944.patch

File 45944.patch, 1.8 KB (added by kjellr, 5 years ago)
  • src/wp-content/themes/twentynineteen/print.css

     
    151151    margin-top: 1rem;
    152152  }
    153153  /* Remove image filters from featured image */
    154   .image-filters-enabled *:after {
    155     display: none !important;
    156   }
    157   .image-filters-enabled .site-header.featured-image .site-featured-image:before {
     154  .image-filters-enabled .entry .post-thumbnail:after,
     155  .image-filters-enabled .site-header.featured-image .site-featured-image:before,
     156  .image-filters-enabled .site-header.featured-image .site-featured-image:after,
     157  .image-filters-enabled .site-header.featured-image:after {
    158158    display: none;
    159159  }
     160  .image-filters-enabled .entry .post-thumbnail .post-thumbnail-inner,
    160161  .image-filters-enabled .site-header.featured-image .site-featured-image .post-thumbnail img {
    161162    filter: none;
    162163  }
  • src/wp-content/themes/twentynineteen/print.scss

     
    183183  /* Remove image filters from featured image */
    184184  .image-filters-enabled {
    185185
    186     *:after {
    187       display: none !important;
    188     }
    189 
    190     .site-header.featured-image .site-featured-image:before {
     186    .entry .post-thumbnail:after,
     187    .site-header.featured-image .site-featured-image:before,
     188    .site-header.featured-image .site-featured-image:after,
     189    .site-header.featured-image:after {
    191190      display: none;
    192191    }
    193192
     193    .entry .post-thumbnail .post-thumbnail-inner,
    194194    .site-header.featured-image .site-featured-image .post-thumbnail img {
    195195      filter: none;
    196196    }