From 3c089d83a74b19cb3c6d4da1cabbfae8b9ff3b61 Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 14 Mar 2016 12:10:22 -0700 Subject: [PATCH] Default comment template modified/corrected for mobile devices. --- e107_admin/cache.php | 2 +- e107_core/templates/comment_template.php | 17 +++++++++-------- e107_web/css/e107.css | 1 + 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/e107_admin/cache.php b/e107_admin/cache.php index fe08ac60e..cf7e5f01d 100644 --- a/e107_admin/cache.php +++ b/e107_admin/cache.php @@ -167,7 +167,7 @@ $text = " - ".CACLAN_28." Experimental + ".CACLAN_28."
".CACLAN_29."
{$jscsscache_label} diff --git a/e107_core/templates/comment_template.php b/e107_core/templates/comment_template.php index f3b6ae551..b857d3de9 100644 --- a/e107_core/templates/comment_template.php +++ b/e107_core/templates/comment_template.php @@ -126,21 +126,22 @@ $COMMENT_TEMPLATE['item'] = '
-
{USERNAME}
-
{TIMEDATE=relative}
-
{COMMENT_STATUS}
-
{COMMENT_RATE} {REPLY} {COMMENTEDIT} {COMMENT_MODERATE}
- +
{USERNAME}
+
{TIMEDATE=relative}
+
-
-
+
+

{COMMENT}

- +
+
{COMMENT_STATUS}
+
{COMMENT_RATE} {REPLY} {COMMENTEDIT} {COMMENT_MODERATE}
+
diff --git a/e107_web/css/e107.css b/e107_web/css/e107.css index e9fc284bd..374e4f546 100644 --- a/e107_web/css/e107.css +++ b/e107_web/css/e107.css @@ -139,6 +139,7 @@ div.bbcode { margin: 15px 0px; clear: both; } /* layout control via bbcodes */ #comments-container { list-style: none outside none; margin:0px } #comments-container > li { padding: 5px 0px } +.comment-text { padding: 8px 0 } .e-email:before { content: attr(data-user); } .e-email:after { content: attr(data-dom) }