Make WordPress Core

Changeset 52174


Ignore:
Timestamp:
11/16/2021 01:55:32 AM (3 years ago)
Author:
hellofromTonya
Message:

Login and Registration: Wrap long usernames in login error message.

Adds word-wrap: break-word to wrap long usernames in the login's error message. Using word-wrap instead of word-break for better cross-browser support and to avoid the deprecation (see Ref below).

For consistency, also changes #backtoblog.

Ref:

Follow-up to [51108].

Props soniakash, audrasjb, sabernhardt, hellofromTonya, desrosj, ocean90.
Fixes #37617.

File:
1 edited

Legend:

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

    r52058 r52174  
    5151    background-color: #fff;
    5252    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
     53    word-wrap: break-word;
    5354}
    5455
     
    298299#backtoblog {
    299300    margin: 16px 0;
    300     word-break: break-word;
     301    word-wrap: break-word;
    301302}
    302303
Note: See TracChangeset for help on using the changeset viewer.