[wp-trac] [WordPress Trac] #58474: Twenty Seventeen: Box shadow on Site Logo block looks odd (was: Twenty Seventeen - Box shadow on Site Logo block looks odd)

WordPress Trac noreply at wordpress.org
Wed Jun 7 16:07:53 UTC 2023


#58474: Twenty Seventeen: Box shadow on Site Logo block looks odd
-----------------------------------+------------------------------
 Reporter:  nkeller15              |       Owner:  (none)
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Bundled Theme          |     Version:  6.2.2
 Severity:  minor                  |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:  css
-----------------------------------+------------------------------
Changes (by sabernhardt):

 * keywords:  has-patch => has-patch 2nd-opinion


Comment:

 I would suggest the bigger problem is having a Site Logo block available
 in the post editor context. However, if there is a reason to add the site
 logo link within the post content, the patch should edit `blocks.css` to
 avoid changing anything for sites that use no blocks at all.

 The `:root .entry-content .wp-block-site-logo a.custom-logo-link` selector
 has a high specificity to override the box shadow even in the dark theme.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58474#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list