Skip to content

Commit

Permalink
Improve design of "Show password" button
Browse files Browse the repository at this point in the history
  • Loading branch information
Zarel committed Jan 31, 2021
1 parent c621da6 commit f94d898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/client-topbar.js
Expand Up @@ -1023,7 +1023,7 @@
buf += '<div id="gapi-custom-signin" style="width:240px;margin:0 auto">[loading Google log-in button]</div>';
buf += '<p class="buttonbar"><button name="close">Cancel</button></p>';
} else {
buf += '<p><label class="label">Password: <input class="textbox autofocus" type="password" name="password" autocomplete="current-password"><button type="button" name="showPassword" aria-label="Show password"><i class="fa fa-eye"></i></button></label></p>';
buf += '<p><label class="label">Password: <input class="textbox autofocus" type="password" name="password" autocomplete="current-password" style="width:173px"><button type="button" name="showPassword" aria-label="Show password" style="float:right;margin:-21px 0 10px;padding: 2px 6px" class="button"><i class="fa fa-eye"></i></button></label></p>';
buf += '<p class="buttonbar"><button type="submit"><strong>Log in</strong></button> <button type="button" name="close">Cancel</button></p>';
}

Expand Down

0 comments on commit f94d898

Please sign in to comment.