Block editor menu shifts left off screen when selecting full width in editor
-
When changing the image in a block to alignment > full width in the block editor, the menu above the block shifts left partially off the screen.
Using WordPress 5.7 block editor with Customizr theme Version 4.4.4
It looks like the CSS that’s causing the problem is for .editor-styles-wrapper .wp-block[data-align=full]
It’s the calculation of left: as a negative value that causes the problem.
@media only screen and (min-width: 768px)
<style>
.editor-styles-wrapper .wp-block[data-align=full] {position: relative;
/* left: calc(-12.5% – 14px); */
/* width: calc(125% + 116px); */
/* max-width: calc(125% + 115px); */}
- The topic ‘Block editor menu shifts left off screen when selecting full width in editor’ is closed to new replies.