[wp-trac] [WordPress Trac] #49793: Twenty Twenty: Images in list blocks are not positioned correctly
WordPress Trac
noreply at wordpress.org
Mon Apr 6 09:10:02 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 poena):
It is the display:block here (instead of inline) that is causing the
problem.
But removing that now may cause other problems elsewhere, so we need to
add display inline or display inline block for images in lists
specifically.
style.css line 624.
{{{
svg, img, embed, object {
display: block;
height: auto;
max-width: 100%;
}
}}}
Adding new class names, if preferred, is something that would need to be
done in Gutenberg.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49793#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list