[wp-trac] [WordPress Trac] #49600: Twenty Twenty: Resized images are centered inside the editor (with no alignment set) since WordPress 5.4
WordPress Trac
noreply at wordpress.org
Wed Apr 22 19:24:10 UTC 2020
#49600: Twenty Twenty: Resized images are centered inside the editor (with no
alignment set) since WordPress 5.4
---------------------------------------------+--------------------------
Reporter: dianeco | Owner: ianbelanger
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.5
Component: Bundled Theme | Version: 5.3
Severity: normal | Resolution: fixed
Keywords: has-patch good-first-bug commit | Focuses: css
---------------------------------------------+--------------------------
Changes (by ianbelanger):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"47613" 47613]:
{{{
#!CommitTicketReference repository="" revision="47613"
Bundled Themes: Twenty Twenty resized images are centered inside the
editor (with no alignment set) since WordPress 5.4.
Fixes the image alignment issue by removing `margin-left: auto;` and
`margin-right: auto;` from `.editor-styles-wrapper .wp-block-image.is-
resized`.
Props dianeco, JavierCasares.
Fixes #49600.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49600#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list