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.


git-svn-id: https://develop.svn.wordpress.org/trunk@53401 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras
2022-05-16 22:35:12 +00:00
parent cfc71d580f
commit 7e1610cf37

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;
}