-
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
Improve focus styles for Link UI preview title #35853
Conversation
Removing unnecessary overflow allows focus to display correctly.
@jasmussen Please can you clarify what you meant in #35833 (comment) by
Please could you confirm what values should be used on the link when
|
Size Change: -36 B (0%) Total Size: 1.07 MB
ℹ️ View Unchanged
|
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.
The code you changed suggests that the overflow controls were meant to clip/elide search item details. Did you verify this didn't regress as part of changing the code?
To clarify what I meant about the old focus style — here's the new focus style:
It's a solid outline with no blur, set in the same color as your admin theme.
But since the focus style for this control is inherited from wp-admin, it's fair to say the focus style should be updated there, not here.
Removing unnecessary overflow allows focus to display correctly.
Description
IN #35833 (comment) we learnt from @jasmussen that the focus ring on the Link UI's preview was incorrect in that:
This PR
fixes both of those problemscurrently only fixes the first of those problems whilst I wait on further feedback and clarification.How has this been tested?
www.wordpress.org
as that brings up a nice rich preview.Check text color is correct(not yet ready!).overflow: hidden
s hasn't caused any visual regressions. I don't believe it's needed anymore because we wrap the text rather than ellipsis it.Screenshots
Types of changes
Checklist:
*.native.js
files for terms that need renaming or removal).