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.
Fixes #52834.

Built from https://develop.svn.wordpress.org/trunk@50569


git-svn-id: http://core.svn.wordpress.org/trunk@50182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Peter Wilson 2021-03-24 00:22:02 +00:00
parent ea83435668
commit 270f2011f8
5 changed files with 23 additions and 9 deletions

View File

@ -132,7 +132,7 @@ p {
.login form {
margin-top: 20px;
margin-right: 0;
padding: 26px 24px 46px;
padding: 26px 24px 34px;
font-weight: 400;
overflow: hidden;
background: #fff;
@ -187,8 +187,15 @@ p {
margin-bottom: 0;
}
.login .button-primary {
float: left;
.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 {

File diff suppressed because one or more lines are too long

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 {

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.8-alpha-50568';
$wp_version = '5.8-alpha-50569';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.