Make WordPress Core

Ticket #45944: 45944-2.diff

File 45944-2.diff, 912 bytes (added by poena, 3 months ago)

Refreshed patch using tabs instead of spaces, .scss only. The .css file needs to be built.

  • src/wp-content/themes/twentynineteen/print.scss

    diff --git a/src/wp-content/themes/twentynineteen/print.scss b/src/wp-content/themes/twentynineteen/print.scss
    index 47976da65f..99d3de2c05 100644
    a b Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272 
    182182
    183183        /* Remove image filters from featured image */
    184184        .image-filters-enabled {
    185 
    186                 *:after {
    187                         display: none !important;
    188                 }
    189 
    190                 .site-header.featured-image .site-featured-image:before {
     185                .entry .post-thumbnail:after,
     186                .site-header.featured-image .site-featured-image:before,
     187                .site-header.featured-image .site-featured-image:after,
     188                .site-header.featured-image:after {
    191189                        display: none;
    192190                }
    193191
     192                .entry .post-thumbnail .post-thumbnail-inner,
    194193                .site-header.featured-image .site-featured-image .post-thumbnail img {
    195194                        filter: none;
    196195                }