Make WordPress Core

Changeset 43280 for branches/4.9


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

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

Props ianbelanger, azaozz.
Merges [43279] to the 4.9 branch.
Fixes #44093.

Location:
branches/4.9
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/src/wp-admin/css/forms.css

    r43271 r43280  
    14851485
    14861486    /* Privacy Policy settings screen */
     1487    .tools-privacy-policy-page form.wp-create-privacy-page {
     1488        margin-bottom: 1em;
     1489    }
     1490
    14871491    .tools-privacy-policy-page input#set-page,
    14881492    .tools-privacy-policy-page select {
    14891493        margin: 10px 0 0;
     1494    }
     1495
     1496    .tools-privacy-policy-page .wp-create-privacy-page span {
     1497        display: block;
     1498        margin-bottom: 1em;
     1499    }
     1500
     1501    .tools-privacy-policy-page .wp-create-privacy-page .button {
     1502        margin-left: 0;
    14901503    }
    14911504
  • branches/4.9/src/wp-admin/privacy.php

    r43252 r43280  
    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.