-
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
Expand drop zone to fill the entire block #8722
Conversation
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.
@@ -8,14 +8,12 @@ | |||
} | |||
|
|||
&.is-close-to-bottom { | |||
background: none; |
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.
If we remove this, then it will bring back #6035, where blocks change color when dragging another block over them.
border-bottom: 3px solid theme(primary); | ||
} | ||
|
||
&.is-close-to-top, | ||
&.is-appender.is-close-to-top, | ||
&.is-appender.is-close-to-bottom { | ||
background: none; |
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.
Same issue here as line 11
This reverts commit cb5ffd5.
Hey, I've just reverted one of the commits, hope this helps 👍 |
Thanks @michaelsmyth94. I like the looks of this, but want to get some design feedback as well and also make sure I'm not missing anything that might break by expanding the drop zone like this. Looks like based on the history it's been set this size for a while. . |
I'm going to close this, as it's no longer really applicable after #9071 was merged. |
Description
How has this been tested?
This has been tested by dropping an image into a paragraph block.
The testing environment was the docker container included with this repository.
Tested dropping an image onto the other block types and all worked okay.
Screenshots
Before:
https://imgur.com/Kf1h664
After:
https://imgur.com/XBbBOuD
Types of changes
Bug fix (non-breaking change which fixes an issue)
Checklist: