Automattic/newspack-newsletters

Incorrect horizontal alignment of editor body when Twenty Twenty-Two is active

Opened this issue · 0 comments

I noticed that after I activated the new theme Twenty Twenty-Two the content of the newsletter editor is strangely aligned to the left.

Appearance in WP 5.9 - Twenty Twenty-One

Screenshot 2022-02-21 at 9 45 44

Appearance in WP 5.9 - Twenty Twenty-Two

Screenshot 2022-02-21 at 9 45 58

It seems to be caused by this CSS rule:

.editor-styles-wrapper .edit-post-visual-editor__post-title-wrapper > [data-align="full"], .editor-styles-wrapper .block-editor-block-list__layout.is-root-container > [data-align="full"] {
    max-width: none;
}