WordPress.org

Make WordPress Core

Changeset 50572


Ignore:
Timestamp:
03/24/2021 11:59:55 PM (6 months ago)
Author:
peterwilsoncc
Message:

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.
Merges [50569] to the 5.7 branch.
Fixes #52834.

Location:
branches/5.7
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.7

  • branches/5.7/src/wp-admin/css/login.css

    r50025 r50572  
    132132    margin-top: 20px;
    133133    margin-left: 0;
    134     padding: 26px 24px 46px;
     134    padding: 26px 24px 34px;
    135135    font-weight: 400;
    136136    overflow: hidden;
     
    187187}
    188188
    189 .login .button-primary {
    190     float: right;
     189.login .reset-pass-submit {
     190    display: flex;
     191    flex-flow: row wrap;
     192    justify-content: space-between;
     193}
     194
     195.login .reset-pass-submit .button {
     196    display: inline-block;
     197    margin-bottom: 6px;
    191198}
    192199
Note: See TracChangeset for help on using the changeset viewer.