[wp-trac] [WordPress Trac] #52287: Twenty Twenty One: Inline Images displaying on new lines (as display: block)

WordPress Trac noreply at wordpress.org
Wed Jan 13 04:32:36 UTC 2021


#52287: Twenty Twenty One: Inline Images displaying on new lines (as display:
block)
---------------------------+----------------------------------------
 Reporter:  talldanwp      |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  5.7
Component:  Bundled Theme  |    Version:  5.6
 Severity:  normal         |   Keywords:  needs-patch good-first-bug
  Focuses:  css            |
---------------------------+----------------------------------------
 In Twenty Twenty One, inline images are `display: block` instead of
 `display: inline-block`.

 This is the case both in the editor and in the front-end.

 There's a similar ticket here for Twenty Twenty that could be worth fixing
 at the same time:
 https://core.trac.wordpress.org/ticket/50418

 Steps to reproduce:
 1. Add a paragraph block
 2. Type some text
 3. Add an inline image

 Expected behavior:
 The image displays on the same row as the text.

 Actual behavior:
 The image displays on a new line.

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


More information about the wp-trac mailing list