[wp-trac] [WordPress Trac] #49793: Twenty Twenty: Images in list blocks are not positioned correctly

WordPress Trac noreply at wordpress.org
Sat Apr 4 08:02:20 UTC 2020


#49793: Twenty Twenty: Images in list blocks are not positioned correctly
---------------------------------------+---------------------
 Reporter:  poena                      |       Owner:  (none)
     Type:  defect (bug)               |      Status:  new
 Priority:  normal                     |   Milestone:  5.5
Component:  Bundled Theme              |     Version:  5.3
 Severity:  normal                     |  Resolution:
 Keywords:  needs-testing needs-patch  |     Focuses:  css
---------------------------------------+---------------------

Comment (by mayankmajeji):

 Hi Poena, I looked into the issue and I think a class like "wp-list-block-
 image-inline" or "wp-image-inline" must be added to the {{{<img>}}} tag.
 And then overwriting the default IMG styling will be a better option.

 Replying to [ticket:49793 poena]:
 >
 > Images inside lists blocks looks like they are above the list item.
 > They are not aligned with other types of list content.
 >
 > Add a new list block in the editor.
 > Add an inline image using the button in the toolbar.
 > Add some text next to the image.
 > Save and view the list on the front.
 >
 > In the editor, the content is aligned nicely next to each other.
 > But on the front the image is not inline, but looks like it is above the
 list.
 >
 > -If the image is the only content in the list, it looks better, the
 image sits in place next to the bullet.
 >
 >
 >
 >
 >
 >
 >
 >

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


More information about the wp-trac mailing list