Make WordPress Core

Changeset 43279


Ignore:
Timestamp:
05/15/2018 07:26:04 PM (7 years ago)
Author:
azaozz
Message:

Privacy: fix styling of the Privacy Settings buttons on mobile/small screens.

Props ianbelanger, azaozz.
Fixes #44093.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

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

    r43278 r43279  
    14931493
    14941494    /* Privacy Policy settings screen */
     1495    .tools-privacy-policy-page form.wp-create-privacy-page {
     1496        margin-bottom: 1em;
     1497    }
     1498
    14951499    .tools-privacy-policy-page input#set-page,
    14961500    .tools-privacy-policy-page select {
    14971501        margin: 10px 0 0;
     1502    }
     1503
     1504    .tools-privacy-policy-page .wp-create-privacy-page span {
     1505        display: block;
     1506        margin-bottom: 1em;
     1507    }
     1508
     1509    .tools-privacy-policy-page .wp-create-privacy-page .button {
     1510        margin-left: 0;
    14981511    }
    14991512
  • trunk/src/wp-admin/privacy.php

    r43250 r43279  
    205205                <?php endif; ?>
    206206
    207                 <form method="post" action="">
     207                <form class="wp-create-privacy-page" method="post" action="">
    208208                    <input type="hidden" name="action" value="create-privacy-page" />
    209209                    <span>
Note: See TracChangeset for help on using the changeset viewer.