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
Refine hover / focus styles for title field’s comment button #9202
Comments
Hi @thibaudcolas, I am an outreachy intern an di would love to take this issue up |
Hi.. @alvinokafor I am currently working on this |
@osujipius in the future make sure to claim a task before someone else does! And @alvinokafor, no need to ask, just say you’re taking it on and let us know how you get on. |
Hi @thibaudcolas, has any PR been created for this issue? If no, I would like to jump on it and get it done as soon as possible |
Is anyone actively working on this issue? |
Hi LB, I'll work on this issue. Thanks |
Thanks @Julietadeboye - assigned to you for now. |
As of Wagtail 4, our title field now has a border that only reveals on hover. It also has a "Add comment" button revealed on hover. Both elements are currently out of sync – if the user hovers / focuses the comment button, the border doesn’t show:
It would be nice if those were always in sync, similarly to what #9164 did for the choosers.
Looking at the styles,
wagtail/client/scss/components/forms/_title.scss
Lines 35 to 37 in 66ea563
I believe this would need to change to applying the styles based on hover / focus within the parent element. Something like (untested):
We’d need to make sure this looks correct when hovering/focusing title fields with errors, and tweak if needed.
The text was updated successfully, but these errors were encountered: