From 379dd889c15ec25055a7b85840431d04619df067 Mon Sep 17 00:00:00 2001 From: Helen Hou-Sandi Date: Sun, 13 Sep 2015 12:46:03 +0000 Subject: [PATCH] Comments: Fix inline edit/reply on small screens. props ocean90, SergeyBiryukov. fixes #33596. git-svn-id: https://develop.svn.wordpress.org/trunk@34094 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/list-tables.css | 19 ++++++++++++++++++- src/wp-admin/includes/template.php | 2 +- src/wp-admin/js/edit-comments.js | 2 ++ 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/css/list-tables.css b/src/wp-admin/css/list-tables.css index b32c67b78d..34763be978 100644 --- a/src/wp-admin/css/list-tables.css +++ b/src/wp-admin/css/list-tables.css @@ -1825,7 +1825,8 @@ div.action-links, text-align: left; } - #comments-form .fixed .column-author { + #comments-form .fixed .column-author, + #commentsdiv .fixed .column-author { display: none !important; } @@ -1980,6 +1981,22 @@ div.action-links, margin: 0 6px 0 0; } + #edithead .inside, + #commentsdiv #edithead .inside { + float: none; + text-align: left; + padding: 3px 5px; + } + + #commentsdiv #edithead .inside input, + #edithead .inside input { + width: 100%; + } + + #edithead label { + display: block; + } + #bulk-titles div { margin: 0.8em 0.3em; } diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php index 93b72eef25..6f0e7bc9ab 100644 --- a/src/wp-admin/includes/template.php +++ b/src/wp-admin/includes/template.php @@ -490,7 +490,7 @@ function wp_comment_reply( $position = 1, $checkbox = false, $mode = 'single', $ ?>
-