Users: Fix misalignment of new user password toggle button on mobile.

This fixes an issue where the password hide/show button was misaligned when creating a new user on small screens.

Props kebbet.
Fixes #55558.

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


git-svn-id: http://core.svn.wordpress.org/trunk@52990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2022-05-16 22:37:12 +00:00
parent aeb3b7530a
commit c03decd0cb
5 changed files with 21 additions and 3 deletions

View File

@ -1644,6 +1644,10 @@ table.form-table td .updated p {
left: 2.5rem;
}
body.user-new-php .wp-pwd button.wp-hide-pw {
left: 0;
}
.wp-pwd button.button:hover,
.wp-pwd button.button:focus {
background: transparent;
@ -1665,6 +1669,11 @@ table.form-table td .updated p {
padding-left: 5rem;
}
body.user-new-php .wp-pwd [type="text"],
body.user-new-php .wp-pwd [type="password"] {
padding-left: 2.5rem;
}
.wp-cancel-pw .dashicons-no {
display: inline-block;
}

File diff suppressed because one or more lines are too long

View File

@ -1643,6 +1643,10 @@ table.form-table td .updated p {
right: 2.5rem;
}
body.user-new-php .wp-pwd button.wp-hide-pw {
right: 0;
}
.wp-pwd button.button:hover,
.wp-pwd button.button:focus {
background: transparent;
@ -1664,6 +1668,11 @@ table.form-table td .updated p {
padding-right: 5rem;
}
body.user-new-php .wp-pwd [type="text"],
body.user-new-php .wp-pwd [type="password"] {
padding-right: 2.5rem;
}
.wp-cancel-pw .dashicons-no {
display: inline-block;
}

File diff suppressed because one or more lines are too long

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.1-alpha-53400';
$wp_version = '6.1-alpha-53401';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.