← All changes
|
jetpack_vendor/automattic/jetpack-post-list/src/style.css
+17
-5
12.3.2
→
16.3
View file →
| @@ -27,21 +27,33 @@ | ||
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | /* Move the "Thumbnail" and "Title" columns closer together. */ |
| 30 | 30 | th.column-thumbnail { |
| 31 | - padding-right:0; | |
| 31 | + padding-right: 0; | |
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | /* Don't display the "Thumbnail" column name in the header or footer. */ |
| 35 | 35 | th.column-thumbnail span { |
| 36 | - display:none; | |
| 36 | + display: none; | |
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | /* Pull "Title" header name over in "Thumbnail"s place. */ |
| 40 | 40 | th.column-thumbnail + th a { |
| 41 | - margin-left:-60px; | |
| 41 | + margin-left: -60px; | |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | -/* If thumbnail column has .hidden class. The entire column is toggled off. Don't pull "Title" header name over. */ | |
| 44 | +/* If thumbnail column has .hidden class, the entire column is | |
| 45 | + * toggled off. Don't pull "Title" header name over. */ | |
| 45 | 46 | th.column-thumbnail.hidden + th a { |
| 46 | - margin-left:0; | |
| 47 | + margin-left: 0; | |
| 48 | +} | |
| 49 | + | |
| 50 | +@media screen and (max-width: 782px) { | |
| 51 | + | |
| 52 | + /* | |
| 53 | + * Keep it as a table-cell. | |
| 54 | + * See https://github.com/WordPress/wordpress-develop/blob/4a9a928dbcd1c91d3633c8de51614dd90d8ea0ac/src/wp-admin/css/list-tables.css#L1969. | |
| 55 | + */ | |
| 56 | + .wp-list-table .is-expanded td:not(.hidden).column-thumbnail { | |
| 57 | + display: table-cell !important; | |
| 58 | + } | |
| 47 | 59 | } |