Login, Registration: Prevent button misalignment on password reset screen.

Prevent misalignment of "generate password" and "save password" buttons on the password reset screen on narrow screens and in languages requiring longer text than English.

Props audrasjb, grapplerulrich, ryelle.
Merges [50569] to the 5.7 branch.
Fixes #52834.


git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50572 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Wilson 2021-03-24 23:59:55 +00:00
parent 7398473d33
commit ba6f27827c

View File

@ -131,7 +131,7 @@ p {
.login form {
margin-top: 20px;
margin-left: 0;
padding: 26px 24px 46px;
padding: 26px 24px 34px;
font-weight: 400;
overflow: hidden;
background: #fff;
@ -186,8 +186,15 @@ p {
margin-bottom: 0;
}
.login .button-primary {
float: right;
.login .reset-pass-submit {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
}
.login .reset-pass-submit .button {
display: inline-block;
margin-bottom: 6px;
}
.login .admin-email-confirm-form .submit {