Make WordPress Core

Changeset 63483


Ignore:
Timestamp:
09/04/2026 10:41:03 PM (5 weeks ago)
Author:
joedolson
Message:

Login and Registration: Align tooltip icon with control.

Update CSS for the login and registration screen for the tooltip icon on the Remember Me option so that the icon aligns correctly with the checkbox and input.

Reviewed by adamsilverstein.
Merges [63448] to the 7.1 branch.

Props utsavladani, timse201, nkpathan, khokansardar, dhruvang21, pbiron, r1k0, ocean90, saiful09, joedolson.
Fixes #65918.

Location:
branches/7.1
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/7.1

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

    r62865 r63483  
    202202
    203203.login form .forgetmenot {
     204        display: flex;
     205        align-items: center;
     206        gap: 4px;
     207        /* Matches the height of the Log In button beside it, so the row centers on it. */
     208        min-height: 40px;
    204209        font-weight: 400;
    205210        float: left;
     211        margin-bottom: 0;
     212}
     213
     214/* Centering aligns margin boxes, so margins left from the inline layout would offset these. */
     215.login form .forgetmenot input[type="checkbox"],
     216.login form .forgetmenot label {
     217        margin-top: 0;
    206218        margin-bottom: 0;
    207219}
Note: See TracChangeset for help on using the changeset viewer.