Root padding is not getting applied correctly in the Editor #44336
Labels
CSS Styling
Related to editor and front end styles, CSS-specific issues.
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
[Type] Bug
An existing feature does not function as intended
Description
In testing the Twenty Twenty-Three theme, I noticed some issues with root padding in the Editor.
First, there is no root padding applied to the Editor itself. Secondly, root padding is applied incorrectly via the
.has-global-padding
class. On the Frontend, everything appears to be working correctly. See the video for complete information.I believe that simply adding
.has-global-padding
to the.is-root-container
div if root padding is applied in theme.json will solve this issue. See the video attached for more info.Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
root-padding-editor-compressed.mp4
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: