From fb44d3b713697768044fd168e60bdbc8d96ceeca Mon Sep 17 00:00:00 2001 From: Luke Carbis Date: Fri, 18 Dec 2015 10:49:10 +1000 Subject: [PATCH 1/2] Update list table design at smaller screen size --- ui/css/admin.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ui/css/admin.css b/ui/css/admin.css index fbf7538e1..24278f793 100644 --- a/ui/css/admin.css +++ b/ui/css/admin.css @@ -85,13 +85,13 @@ @media only screen and (max-width: 900px) { .toplevel_page_wp_stream .fixed .manage-column, .toplevel_page_wp_stream .fixed tbody tr td { - display: none; + display: none !important; } .toplevel_page_wp_stream .fixed .column-date, .toplevel_page_wp_stream .fixed .column-summary, .toplevel_page_wp_stream .fixed .column-user_id, .toplevel_page_wp_stream .fixed tbody tr.no-items td { - display: table-cell; + display: table-cell !important; } .toplevel_page_wp_stream .fixed .column-date { width: 100px; @@ -110,6 +110,10 @@ } } +.toplevel_page_wp_stream .wp-list-table tr td::before { + content: "" !important; +} + .toplevel_page_wp_stream .column-user_id a { vertical-align: top; } From b84b8a9c8d1fdfa4cd80e67a74620a75aa8faec4 Mon Sep 17 00:00:00 2001 From: Luke Carbis Date: Fri, 26 Feb 2016 14:43:58 +1000 Subject: [PATCH 2/2] Update CSS to force nowrap on dates and ip addresses --- ui/css/admin.css | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/ui/css/admin.css b/ui/css/admin.css index 24278f793..fdc2b5cb5 100644 --- a/ui/css/admin.css +++ b/ui/css/admin.css @@ -50,18 +50,27 @@ width: 12%; } -.toplevel_page_wp_stream .manage-column.column-date { - width: 10%; +.toplevel_page_wp_stream .column-date { + min-width: 10%; + white-space: nowrap; } -.toplevel_page_wp_stream .manage-column.column-user_id { +.toplevel_page_wp_stream .column-date .timeago { + padding-right: 1em; +} + +.toplevel_page_wp_stream .column-user_id { width: 18%; } -.toplevel_page_wp_stream .manage-column.column-summary { +.toplevel_page_wp_stream .column-summary { width: auto; } +.toplevel_page_wp_stream .column-ip { + white-space: nowrap; +} + .toplevel_page_wp_stream .stream-filter-object-id { padding-left: 5px; visibility: hidden;