Make WordPress Core

Changeset 53401


Ignore:
Timestamp:
05/16/2022 10:35:12 PM (2 years ago)
Author:
audrasjb
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/forms.css

    r52801 r53401  
    16441644    }
    16451645
     1646    body.user-new-php .wp-pwd button.wp-hide-pw {
     1647        right: 0;
     1648    }
     1649
    16461650    .wp-pwd button.button:hover,
    16471651    .wp-pwd button.button:focus {
     
    16631667        line-height: 2;
    16641668        padding-right: 5rem;
     1669    }
     1670
     1671    body.user-new-php .wp-pwd [type="text"],
     1672    body.user-new-php .wp-pwd [type="password"] {
     1673        padding-right: 2.5rem;
    16651674    }
    16661675
Note: See TracChangeset for help on using the changeset viewer.