[wp-trac] [WordPress Trac] #52287: Twenty Twenty One: Inline Images displaying on new lines (as display: block)
WordPress Trac
noreply at wordpress.org
Mon Jan 18 12:59:01 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 | Focuses: css
--------------------------------------+---------------------
Description changed by SergeyBiryukov:
Old description:
> 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.
New description:
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: #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#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list