Skip to content

Block Themes: Default body margin is removed in the Site Editor, but not in the front end.  #35350

@kjellr

Description

@kjellr

Description

The default body margin appears to be removed in the editor, but not in the front end. Since full-width items go full-width in the editor, I'd expect that is the correct behavior.

cc @youknowriad since I think you've looked into this situation before.

Editor Front End
Screen Shot 2021-10-05 at 8 20 33 AM Screen Shot 2021-10-05 at 8 20 04 AM

Step-by-step reproduction instructions

  1. Use the emptytheme.
  2. View the front end, observe that there's a slim margin around the entire body.
  3. Open the site editor, observe that this margin is not there. The inspector shows that it's being removed somewhere.

Environment info

Gutenberg trunk (Version 11.6.0)

Metadata

Metadata

Assignees

Labels

[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions