-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Fixes #1472: Block mover isn't clickable #1479
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
Conversation
When block goes behind an image that is left aligned, the image block covers block mover buttons so we can't move the block.
editor/block-mover/style.scss
Outdated
| left: 0; | ||
| padding: 0 14px 20px 0; // handles hover area | ||
|
|
||
| z-index: 100; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works great 👍 but we should probably use our z-index mixin. https://github.com/WordPress/gutenberg/blob/master/editor/assets/stylesheets/_z-index.scss#L16
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should I create new z-layer or use one of exists value?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should create a new one and give it the .editor-block-mover name
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. I have just updated the PR.
youknowriad
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! Thanks for the fix
When block goes behind an image that is left aligned, the image block covers block mover buttons so we can't move the block.