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

WordPress Trac noreply at wordpress.org
Wed Feb 3 12:29:39 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                                  |  Resolution:
 Keywords:  good-first-bug has-patch needs-testing  |     Focuses:  css
----------------------------------------------------+---------------------

Comment (by poena):

 Did you run npm build inside the twentytwentyone folder?

 If you select the image and look at the source (in the browser dev tools),
 does it say
 {{{
 .editor-styles-wrapper img {
     display: inline-block;
     height: auto;
     max-width: 100%;
 }
 }}}

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


More information about the wp-trac mailing list