WordPress.org

Make WordPress Core

Opened 6 weeks ago

Last modified 6 weeks ago

#53872 new defect (bug)

Twenty Nineteen: Post content and title are not properly aligned in the editor

Reported by: kjellr Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords:
Focuses: Cc:

Description

Following the upgrade to WordPress 5.8, Twenty Nineteen's post content is no longer aligned to match the front end. Instead, it's off to the left. Additionally, wide-alignments appear far wider in the editor than they do in the front end. Full alignments appear as expected.

The post title is also moved over to the left, though I think that may have been happening since before 5.8.

Screenshots

Editor:

http://cldup.com/Qf0oxcjJ6Z.png

Front end:

http://cldup.com/2JarckRz7D.png

Details

Tested with WordPress 5.8.
Twenty Nineteen 2.1

Change History (1)

#1 @Joen
6 weeks ago

From a little inspecting, it appears that editor styles from 2019 that target .wp-block and customize the width and max-widths of that element are overridden in recent refactors to the editing canvas. While specificity can be increased in 2019 to fix this, it appears that many of the issues are fixed if we can land https://github.com/WordPress/gutenberg/pull/32659, which I hope to land very soon. There are some gallery related fixes that need to be handled there as well.

Even if we do land 32659, 2019 will still need a little love to the margin rules that create that stylish offset-left main column.

Note: See TracTickets for help on using tickets.