[wp-trac] [WordPress Trac] #50418: Twenty Twenty: Inline Images displaying as block
WordPress Trac
noreply at wordpress.org
Tue Jun 6 22:43:18 UTC 2023
#50418: Twenty Twenty: Inline Images displaying as block
-------------------------------------------------+-------------------------
Reporter: mrfoxtalbot | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future
| Release
Component: Bundled Theme | Version: 5.4.2
Severity: normal | Resolution:
Keywords: has-patch needs-refresh 2nd-opinion | Focuses: css
-------------------------------------------------+-------------------------
Changes (by sabernhardt):
* keywords: has-patch needs-testing needs-refresh 2nd-opinion => has-patch
needs-refresh 2nd-opinion
Comment:
If images inside a paragraph are changed to `inline-block`, that would
need to make an exception for at least the `.aligncenter` class.
When adding a captionless image in the Classic block (or Classic Editor),
the image is wrapped in a paragraph tag. If the centered image's width is
the full width of the paragraph, the change may only affect the bottom
margin. However, if the image is smaller, it would not center as expected.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50418#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list