[wp-trac] [WordPress Trac] #59253: Twenty Sixteen : Avatar design is different in editor and frontend side in Post Author Block

WordPress Trac noreply at wordpress.org
Thu Aug 31 15:00:43 UTC 2023


#59253: Twenty Sixteen : Avatar design is different in editor and frontend side in
Post Author Block
-----------------------------------------+------------------------------
 Reporter:  pitamdey                     |       Owner:  (none)
     Type:  defect (bug)                 |      Status:  new
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  Bundled Theme                |     Version:
 Severity:  minor                        |  Resolution:
 Keywords:  has-screenshots needs-patch  |     Focuses:  css
-----------------------------------------+------------------------------
Changes (by sabernhardt):

 * severity:  normal => minor


Comment:

 The front end needs to keep the `border-radius`. It has been part of the
 theme's style for more than seven years, since before the block editor.

 I expect the Post Author and/or Avatar blocks are rarely used with any
 'classic' themes such as Twenty Sixteen, but it may be worth adding a few
 lines to `editor-blocks.css` to round the corners in the editor too.
 {{{
 .editor-styles-wrapper .avatar,
 .wp-block-post-author__avatar img {
   border-radius: 50%;
 }
 }}}

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


More information about the wp-trac mailing list