WordPress.org

Make WordPress Core

Changeset 50846


Ignore:
Timestamp:
05/12/2021 07:57:16 PM (8 months ago)
Author:
ryelle
Message:

Login, Users: Use a monospace font to display passwords.

When typing a password, the input field should use a monospace font. It's easier to distinguish letters in monospace fonts, which makes it easier to accurately read passwords.

Props robdxw, utz119, hedgefield, hareesh-pillai.
Fixes #40275.

Location:
trunk/src/wp-admin/css
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/forms.css

    r50571 r50846  
    594594}
    595595
     596.password-input-wrapper input {
     597    font-family: Consolas, Monaco, monospace;
     598}
     599
    596600#pass1.short, #pass1-text.short {
    597601    border-color: #e65054;
  • trunk/src/wp-admin/css/login.css

    r50784 r50846  
    337337}
    338338
     339.login input.password-input {
     340    font-family: Consolas, Monaco, monospace;
     341}
     342
    339343.js.login input.password-input,
    340344.js.login-action-rp form .input,
Note: See TracChangeset for help on using the changeset viewer.