Administration: Fix misaligned icon in user profile password field.

This changeset corrects a misalignment issue affecting the show/hide button next to the password field.

Props piyushpatel123, rajdiptank111, ankitkumarshah, andrewssanya, jdahir0789, gautammkgarg, gaurangsondagar, gaisma22, ugyensupport, abduremon, ankitmaru, darshitrajyaguru97, khushdoms, monzuralam.
Fixes #65031.


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


git-svn-id: http://core.svn.wordpress.org/trunk@61542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb
2026-04-26 07:04:43 +00:00
parent d46ae43eb7
commit 6c433e6ec6
6 changed files with 14 additions and 4 deletions
+5
View File
@@ -584,6 +584,11 @@ input[type="number"].tiny-text {
vertical-align: middle;
}
.button.wp-hide-pw.user-new-password-toggle > .dashicons {
line-height: 1.85;
vertical-align: top;
}
.wp-cancel-pw .dashicons-no {
display: none;
}
+1 -1
View File
File diff suppressed because one or more lines are too long
+5
View File
@@ -583,6 +583,11 @@ input[type="number"].tiny-text {
vertical-align: middle;
}
.button.wp-hide-pw.user-new-password-toggle > .dashicons {
line-height: 1.85;
vertical-align: top;
}
.wp-cancel-pw .dashicons-no {
display: none;
}
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -695,7 +695,7 @@ switch ( $action ) {
<input type="password" name="pass1" id="pass1" class="regular-text ltr" value="" autocomplete="new-password" spellcheck="false" data-pw="<?php echo esc_attr( wp_generate_password( 24 ) ); ?>" aria-describedby="pass-strength-result" />
<div style="display:none" id="pass-strength-result" aria-live="polite"></div>
</div>
<button type="button" class="button wp-hide-pw hide-if-no-js" data-toggle="0" aria-label="<?php esc_attr_e( 'Hide password' ); ?>">
<button type="button" class="button wp-hide-pw user-new-password-toggle hide-if-no-js" data-toggle="0" aria-label="<?php esc_attr_e( 'Hide password' ); ?>">
<span class="dashicons dashicons-hidden" aria-hidden="true"></span>
<span class="text"><?php _e( 'Hide' ); ?></span>
</button>
+1 -1
View File
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '7.1-alpha-62261';
$wp_version = '7.1-alpha-62262';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.