-
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
Add Block "+" icon has different hover effects #14853
Comments
Somewhat related to #10519 |
This would be because this:
is more specific than this:
The So essentially it's
vs
Is there ever a case where a Of course it may be intentional. Hard to tell. |
Thanks for that investigation work @m-e-h! |
On a meta-level, all icon buttons should have the same treatment. Which means the sibling inserter should have the same style as the buttons in the toolbar. The reason it's the way it is now, is that the circular inserter button would look weird with that square hover style. Which is why it's the way it is now, with no hover background on the sibling, and a circular one on the left inserter. A stopgap solution is to remove the box shadow hover style on the left inserter, then it's at least 50% more consistent. But perhaps a better solution is to re-do the hover style for icon buttons in general? Referring also to the icon buttons in the editor bar up top. I'll think about how those can be tightened up, but that should probably be done as a subsequent PR. |
Fixes #14853. This removes the box shadow on the inserter button that appears to the left of the default block appender (or to the right on mobile). This brings the hover state in line with the hover state for the sibling inserter.
Fully agree- it might be nice to re-evaluate those hover states in general. (I'd also love to kill off that pile of In the meantime, I opened #14936 to remove the box shadow for this icon. |
Fixes #14853. This removes the box shadow on the inserter button that appears to the left of the default block appender (or to the right on mobile). This brings the hover state in line with the hover state for the sibling inserter.
Fixes WordPress#14853. This removes the box shadow on the inserter button that appears to the left of the default block appender (or to the right on mobile). This brings the hover state in line with the hover state for the sibling inserter.
Fixes #14853. This removes the box shadow on the inserter button that appears to the left of the default block appender (or to the right on mobile). This brings the hover state in line with the hover state for the sibling inserter.
Fixes #14853. This removes the box shadow on the inserter button that appears to the left of the default block appender (or to the right on mobile). This brings the hover state in line with the hover state for the sibling inserter.
Describe the bug
The Add Block "+" icon shows different hover effects within the editor.
To reproduce
Steps to reproduce the behavior:
Expected behavior
There is a color change in the sibling inserter which indicates (subtly) the hover effect. In the new block inserter, there is no color change, so maybe that's why there is an outline? If we want to keep the outline to indicate the hover effect, then we should at least center it around the "+".
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: