Drop Cap causes text wrapping issues for images slightly smaller than viewing screen #15459
Labels
[Block] Paragraph
Affects the Paragraph Block
[Type] Bug
An existing feature does not function as intended
With an Image block that has been made smaller and right-aligned, it’s possible to add a Paragraph block to the left, imitating the Media & Text block. Text from the Paragraph then wraps around the Image.
However, this can really screw up drop caps if the image ratio matches the screen size poorly. This was brought up in a user interaction, where the text doesn't wrap properly (or rather the text does but the drop cap doesn't) when viewing the post from certain mobile devices.
To reproduce:
Here’s what that looks like:

The text wraps around the image nicely in desktop web browser:
However, when viewed in mobile, if the image is just a bit smaller than the viewing screen, the text wraps but the drop cap remains below the image:
Reproduced on both WordPress.com and a vanilla WordPress install using WordPress 5.1.1.
The text was updated successfully, but these errors were encountered: