-
Notifications
You must be signed in to change notification settings - Fork 1
password visibility toggle #6
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
base: main
Are you sure you want to change the base?
Conversation
rgaudin
left a comment
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.
Thank you ;
First of all, the UI doesn't look right: field is not placed correctly.
Also, when hovering the toggle button, it disapears, which is annoying because most of the time, you want to see what you type(d) but keep your pointer on the icon to easily revert to hidden. screenshot doesn't show the pointer but it's on the icon
Finally, it would be better if this could be more reusable (probably useful elsewhere like on the SSID)
- store the SVGs in files
- work of classes and match elements relatively
- also place the JS part outside body block (there's a javascript block for that.
|
Convention is also I think to have the icon inside the field. If inline SVG is easier, you can make it reusable by creating a template for the complete field. |
|
Firefox 147 on macOS. You should check your browser's console as the style is not applied properly: not using font, button style is off, colors as well. |




Fixes offspot/dashboard#46