[wp-trac] [WordPress Trac] #52716: Twenty Seventeen: consider style updates for box-shadow on linked images

WordPress Trac noreply at wordpress.org
Thu Mar 4 20:32:41 UTC 2021


#52716: Twenty Seventeen: consider style updates for box-shadow on linked images
---------------------------+-----------------------------
 Reporter:  presstoke      |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Bundled Theme  |    Version:
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 == Origin
 User report: https://github.com/WordPress/gutenberg/issues/22187

 That report was only about the Media & Text block specifically but looking
 into I recognized it as a general issue with the styles from Twenty
 Seventeen and applicable to other blocks.

 == Steps to replicate

 1. Add any block that supports inner blocks and background colors (Group,
 Columns)
 2. Add a background color to the block
 3. Inside the block, add any/all of the following blocks: Image, Gallery
 or Media & Text
 4. Add a link to the inner block (Gallery block gets links via a setting
 the Inspector (block settings sidebar)

 == Results

 * In each block there is a box-shadow on the images
 * In the Gallery block the box-shadows double-up between images
 * In a Media & Text block with a background-color of its own, the box-
 shadow expands beyond the block background area

 == Expected

 Consistency between what is seen in the Block Editor and the frontend
 (i.e. Either without box-shadows on the frontend or with box-shadows in
 the Editor).

 == Screenshots

 === Blocks with linked images
 ||= Block editor =||= Frontend =||
 || image pending || image pending ||

 === Inline images with links
 Inline images are also styled differently between editor/frontend.

 ||= Block editor =||= Frontend =||
 || image pending || image pending ||

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52716>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list