Make WordPress Core

Changeset 33098


Ignore:
Timestamp:
07/06/2015 11:29:44 PM (10 years ago)
Author:
helen
Message:

List tables: Ensure the no items message appears on narrow screens.

fixes #32900. see #32395.

File:
1 edited

Legend:

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

    r33016 r33098  
    17341734    .wp-list-table th:not(.column-primary),
    17351735    .wp-list-table th:not(.column-primary),
    1736     .wp-list-table tr:not(.inline-edit-row) td:not(.column-primary):not(.check-column) {
     1736    .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.column-primary):not(.check-column) {
    17371737        display: none;
     1738    }
     1739
     1740    .wp-list-table thead th.column-primary {
     1741        width: 100%;
    17381742    }
    17391743
     
    17481752    }
    17491753
    1750     .wp-list-table tr:not(.inline-edit-row) td:not(.check-column) {
     1754    .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column) {
    17511755        position: relative;
    17521756        clear: both;
     
    17591763    }
    17601764
    1761     .wp-list-table tr:not(.inline-edit-row) td:not(.column-primary):not(.check-column) {
     1765    .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.column-primary):not(.check-column) {
    17621766        padding: 3px 8px 3px 35%;
    17631767    }
    17641768
    1765     .wp-list-table tr:not(.inline-edit-row) td:not(.column-primary)::before {
     1769    .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.column-primary)::before {
    17661770        position: absolute;
    17671771        left: 10px; /* match padding of regular table cell */
Note: See TracChangeset for help on using the changeset viewer.