Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try: Hide the in-canvas appender in the site editor. #36602

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,13 @@
transform: scale(0);
}
}

// Hide entirely in the site editor.
// This appender, being part of the DOM, appears to the CSS as if it is another block.
// In doing so, it causes big layout shifts when selecting nesting containers, which is
// problematic in both post and site editors, though by nature, most so in the site editor.
// @todo: this is meant to be a temporary measure, letting us find a better solution for
// both editors in the process.
.edit-site-block-editor__block-list .block-editor-block-list__block .block-list-appender {
display: none;
}