-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Remove dotted border from grid dropzone #63162
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Size Change: -20 B (0%) Total Size: 1.76 MB
ℹ️ View Unchanged
|
Why do the cells change colour slightly when I change selection between the grid and the grid item? Or am I seeing things? Kapture.2024-07-05.at.15.16.24.mp4 |
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.
Fixes the issue 👍
When grid items are selected the dropzones appear, but when it's just the parent grid selected they don't. |
Nice one. Thanks for following up. I'd love to also see a 2px rounded radius on the cells, if that's possible. |
Co-authored-by: tellthemachines <[email protected]> Co-authored-by: noisysocks <[email protected]>
What?
Fixes regression introduced in #61025 as per this comment.
Removes dotted border from grid cell dropzones.
Testing Instructions
1.In Gutenberg > Experiments enable the Grid experiment;
2. Add a Grid block to a post or template and add some blocks inside it;
3. Switch the Grid to Manual mode in the block sidebar under "Layout";
4. Select one of the child blocks of the Grid;
5. Check that grid cells are highlighted with a solid line and not a dotted one.
Before:
After: