-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Add password visibility toggle #15605
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 password visibility toggle #15605
Conversation
|
I wish the browsers would do that natively, but... they don't. So let's see this |
ui/bits/css/_auth.scss
Outdated
| background-color: currentColor; | ||
| transform: rotate(45deg); | ||
| top: 50%; | ||
| left: 0; |
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.
sorry about that, I appreciate the handcrafted solution here, but as the person who would be maintaining it for years, I prefer a oneliner instead :)
such as /account/twofactor, /account/close, /account/passwd and more
|
Thanks for reviewing and updating my PR. I noticed the changes made the code quite different from my original. Is this common for Lichess PRs? I usually prefer iterating on changes based on feedback but understand if this approach is preferred. |
|
I often find that feedback as code is quicker and more precise. |
First contribution 🥳
Issue: #14321
Add ability to toggle password visibility by clicking an eye icon. This functionality is available from both the login and registration pages. Tested on Firefox and Safari. Screenshots are from Firefox.