Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #52716, comment 2


Ignore:
Timestamp:
03/08/2021 07:04:30 AM (4 years ago)
Author:
justinahinon
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52716, comment 2

    v1 v2  
    77When you change a page background to a non-white color, and add an image with a link, you'll still notice the same issue. See https://core.trac.wordpress.org/attachment/ticket/52716/Screenshot_2021-03-08%20%2352716%20%E2%80%93%20WordPress%20Develop.png.
    88
     9This is due to this code
     10
     11
     12{{{
     13.entry-content a img,
     14.comment-content a img,
     15.widget a img {
     16        -webkit-box-shadow: 0 0 0 8px #fff;
     17        box-shadow: 0 0 0 8px #fff;
     18}
     19}}}
     20
     21added here https://core.trac.wordpress.org/browser/trunk/src/wp-content/themes/twentyseventeen/style.css#L1290.
     22
     23I don't seem to understand why we need this box-shadow on linked images as it looks a bit unusual thing to do.
     24
     25
    926I am working on a fix for that.