Skip to content

Commit 81b5dc5

Browse files
Shekhar0109Shekhar0109t-hamanoandrewserong
authored andcommitted
Fix: restore editor canvas padding in classic themes (#76864)
Co-authored-by: Shekhar0109 <shekh0109@git.wordpress.org> Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: andrewserong <andrewserong@git.wordpress.org>
1 parent d172c3d commit 81b5dc5

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎packages/edit-post/src/classic.scss‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,11 @@
1414
// Themes with theme.json can control this themselves.
1515
// For full-wide blocks, we compensate for the base padding.
1616
// These margins should match the padding value above.
17-
html :where(.editor-styles-wrapper) {
17+
.editor-styles-wrapper {
1818
padding: 8px;
19+
}
20+
21+
html :where(.editor-styles-wrapper) {
1922
.block-editor-block-list__layout.is-root-container > .wp-block[data-align="full"] {
2023
margin-left: -8px;
2124
margin-right: -8px;

0 commit comments

Comments
 (0)