Make WordPress Core

Opened 3 years ago

Closed 5 days ago

#53872 closed defect (bug) (worksforme)

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

Reported by: kjellr's profile kjellr Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords: needs-testing close
Focuses: Cc:


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.



Front end:


Tested with WordPress 5.8.
Twenty Nineteen 2.1

Change History (4)

#1 @Joen
3 years 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, 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.

#2 @karmatosed
7 weeks ago

  • Keywords needs-testing added

#3 @sabernhardt
8 days ago

  • Keywords close added

The issue described here seems to be the same lack of side margins that was fixed in [52925] and again in [56832].

The iframe editor has another issue with margins and centering in Twenty Nineteen, but that might fit better in a new ticket.

#4 @karmatosed
5 days ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

I am going to progress this to close as agree. Thank you everyone.

Note: See TracTickets for help on using tickets.