[wp-trac] [WordPress Trac] #56748: Twenty Twenty-One: Image stuck to text in responsive sizes

WordPress Trac noreply at wordpress.org
Sat Jan 21 16:06:17 UTC 2023


#56748: Twenty Twenty-One: Image stuck to text in responsive sizes
-----------------------------------+-----------------------
 Reporter:  sagarladani            |       Owner:  (none)
     Type:  defect (bug)           |      Status:  assigned
 Priority:  normal                 |   Milestone:  6.2
Component:  Bundled Theme          |     Version:  5.6
 Severity:  normal                 |  Resolution:
 Keywords:  2nd-opinion has-patch  |     Focuses:  css
-----------------------------------+-----------------------
Changes (by sabernhardt):

 * keywords:  has-patch => 2nd-opinion has-patch


Comment:

 Yes, maybe we should keep the floating from the editor styles. I think
 more people could prefer to remove it, but some might prefer the layout
 the way it always has been (since version 1.0 with WordPress 5.6).

 For anyone who does not like this lack of margin, there are at least two
 ways to work around it:
 1. Remove the float in the Customizer's Additional CSS.
 2. I think using the Columns block to separate images and paragraphs tends
 to display better than setting the image's alignment option. That can help
 avoid awkward text wrapping around floating images (for example, a
 [https://share.cleanshot.com/Ewl5TgZMdla8HDxLeERf narrow column of text]
 can split words, or else only the last word or two appears below the
 image).

 The theme's RTL fix may belong on a new ticket instead, but I'm adding the
 patch here.

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


More information about the wp-trac mailing list