Make WordPress Core

Changeset 47622


Ignore:
Timestamp:
04/25/2020 12:25:54 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Administration: Remove right padding on form tables on smaller screens so that the spacing is equal on both sides.

Additionally, reduce the right margin on screen meta links (Help and Screen Options) to align with the tables.

Props jainnidhi, garrett-eclipse, ibdz, SergeyBiryukov.
Fixes #43279.

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

Legend:

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

    r47252 r47622  
    39993999        }
    40004000
     4001        #screen-meta,
     4002        #screen-meta-links {
     4003                margin-right: 10px;
     4004        }
     4005
    40014006        #screen-meta-links {
    40024007                margin-bottom: 20px; /* Add margins beneath links for better spacing between boxes and elements */
  • trunk/src/wp-admin/css/forms.css

    r47395 r47622  
    15011501
    15021502        .form-table th {
    1503                 padding-top: 10px;
    1504                 padding-bottom: 0;
     1503                padding: 10px 0 0 0;
    15051504                border-bottom: 0;
    15061505        }
    … …  
    15081507        .form-table td {
    15091508                margin-bottom: 0;
    1510                 padding-bottom: 6px;
    1511                 padding-top: 4px;
    1512                 padding-left: 0;
     1509                padding: 4px 0 6px 0;
    15131510        }
    15141511
Note: See TracChangeset for help on using the changeset viewer.