WordPress.org

Make WordPress Core

Ticket #52834: 52834.diff

File 52834.diff, 695 bytes (added by audrasjb, 6 months ago)

Proposal: replace floats with flex layout for better fallback

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

    diff --git a/src/wp-admin/css/login.css b/src/wp-admin/css/login.css
    index 15f8cc81b4..037a601312 100644
    a b p { 
    131131.login form {
    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;
    137137        background: #fff;
    p { 
    186186        margin-bottom: 0;
    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
    193200.login .admin-email-confirm-form .submit {