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 |
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 <isabel_brison@git.wordpress.org> Co-authored-by: noisysocks <noisysocks@git.wordpress.org>
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: