-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Fix regression in Spacer block #7024
Conversation
There was a typo in the rename of the drag handle and associated CSS class.
core-blocks/spacer/index.js
Outdated
@@ -47,8 +47,8 @@ export const settings = { | |||
} } | |||
minHeight="20" | |||
handleClasses={ { | |||
top: 'core-blocks-spacer__resize-handler-top', | |||
bottom: 'core-blocks-spacer__resize-handler-bottom', | |||
top: 'block-spacer__resize-handler-top', |
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.
I think you should update the stylesheet instead ;) These class names do not follow our guidelines ;)
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.
Sorry, I'm about to hop on a meeting, if you have bandwidth feel free to commandeer this PR :D
The JS followed guidelines.
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.
Confirmed working 👍
Sorry, that was a last-minute change I haven't checked properly. |
This PR fixes a regression introduced in 59f2ad8, which made the resizing dots disappear from the spacer block. You could still resize, there just weren't any visual handles. This fixes that.
There was a typo in the rename of the drag handle and associated CSS class.