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

Fix regression in Spacer block #7024

Merged
merged 2 commits into from
May 30, 2018
Merged

Fix regression in Spacer block #7024

merged 2 commits into from
May 30, 2018

Conversation

jasmussen
Copy link
Contributor

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.

screen shot 2018-05-30 at 19 13 13

There was a typo in the rename of the drag handle and associated CSS class.
@jasmussen jasmussen added the [Type] Bug An existing feature does not function as intended label May 30, 2018
@jasmussen jasmussen added this to the 3.0 milestone May 30, 2018
@jasmussen jasmussen self-assigned this May 30, 2018
@jasmussen jasmussen requested review from mtias and afercia May 30, 2018 17:15
@@ -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',
Copy link
Contributor

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 ;)

Copy link
Contributor Author

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.
Copy link
Member

@aduth aduth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed working 👍

@jasmussen jasmussen merged commit eb4fc18 into master May 30, 2018
@jasmussen jasmussen deleted the fix/spacer-regression branch May 30, 2018 19:07
@afercia
Copy link
Contributor

afercia commented May 30, 2018

Sorry, that was a last-minute change I haven't checked properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants