mirror of
git://develop.git.wordpress.org/
synced 2025-04-03 11:42:50 +02:00
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: * `word-break: break-word` deprecation https://developer.mozilla.org/en-US/docs/Web/CSS/word-break#syntax Follow-up to [51108]. Props soniakash, audrasjb, sabernhardt, hellofromTonya, desrosj, ocean90. Fixes #37617. git-svn-id: https://develop.svn.wordpress.org/trunk@52174 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
13b52a310f
commit
e265334aed
@ -50,6 +50,7 @@ p {
|
||||
margin-bottom: 20px;
|
||||
background-color: #fff;
|
||||
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.login .success {
|
||||
@ -297,7 +298,7 @@ p {
|
||||
|
||||
#backtoblog {
|
||||
margin: 16px 0;
|
||||
word-break: break-word;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.login #nav a,
|
||||
|
Loading…
x
Reference in New Issue
Block a user