From 1676dd43b15d291ae83c469770aa6b663486325b Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Mon, 23 Mar 2015 12:20:11 +0000 Subject: [PATCH] Taxonomy List Tables: On mobile devices, hide the slug column, to avoid cramping the action links into two rows. Props MikeNGarrett. Fixes #29992. git-svn-id: https://develop.svn.wordpress.org/trunk@31865 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/list-tables.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/wp-admin/css/list-tables.css b/src/wp-admin/css/list-tables.css index 09514f3b41..d2a5a3d8cd 100644 --- a/src/wp-admin/css/list-tables.css +++ b/src/wp-admin/css/list-tables.css @@ -1916,3 +1916,13 @@ div.action-links, box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); } } + +/* Smartphone */ +@media screen and (max-width: 600px) { + /* Remove slug column from taxonomy list page + and role column from users list page */ + .tags .column-slug, + .users .column-role { + display: none; + } +}