Make WordPress Core

Ticket #44046: 44046.2.diff

File 44046.2.diff, 627 bytes (added by iandunn, 6 years ago)

Replace position: absolute with margins

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

    diff --git src/wp-admin/css/login.css src/wp-admin/css/login.css
    index 32b5560c23..686be7dde9 100644
    p { 
    202202.login .privacy-policy-page-link {
    203203        text-align: center;
    204204        width: 100%;
    205         position: absolute;
    206         bottom: 20px;
    207         left: 0;
     205        margin: 5em 0 2em;
    208206}
    209207
    210208.login form .input,
    body.interim-login { 
    265263        width: device-width;
    266264}
    267265
    268 @media ( max-height: 600px ) {
    269         .login .privacy-policy-page-link {
    270                 position: relative;
    271                 margin: 60px 0 20px 0;
    272         }
    273 }
    274 
    275266@media screen and ( max-height: 550px ) {
    276267        #login {
    277268                padding: 20px 0;