Skip to content

Commit

Permalink
Merge pull request #810 from xwp/bugfix/issue-804
Browse files Browse the repository at this point in the history
Update list table design at smaller screen size
  • Loading branch information
Luke Carbis committed Feb 26, 2016
2 parents 39163bb + b84b8a9 commit d4c4474
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions ui/css/admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -85,13 +94,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;
Expand All @@ -110,6 +119,10 @@
}
}

.toplevel_page_wp_stream .wp-list-table tr td::before {
content: "" !important;
}

.toplevel_page_wp_stream .column-user_id a {
vertical-align: top;
}
Expand Down

0 comments on commit d4c4474

Please sign in to comment.