Make WordPress Core

Changeset 47613


Ignore:
Timestamp:
04/22/2020 07:23:54 PM (4 years ago)
Author:
ianbelanger
Message:

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.

Location:
trunk/src/wp-content/themes/twentytwenty/assets/css
Files:
2 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.