1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 11:20:25 +02:00

Issue #1944 IMPORTANT: Any reference to #comments-container in the theme must be changed to .comments-container

This commit is contained in:
Cameron
2019-04-30 12:01:09 -07:00
parent be71965cb6
commit e087dc52a2
3 changed files with 7 additions and 7 deletions

View File

@@ -1173,11 +1173,11 @@ class comment
if($text)
{
//XXX Do NOT add to template - too important to allow for modification.
$text = "<ul class='media-list comments-container' id='".$containerTarget."'>\n".$text."\n</ul>";
$text = "<ul class='comments-container media-list' id='".$containerTarget."'>\n".$text."\n</ul>";
}
else
{
$text = "<ul class='media-list comments-container' id='".$containerTarget."'><li><!-- --></li></ul>";
$text = "<ul class='comments-container media-list' id='".$containerTarget."'><li><!-- --></li></ul>";
}

View File

@@ -491,8 +491,8 @@ div.comments-form-login div { padding-bottom:10px }
.pager { margin-bottom: 40px; }
img.news-image-1 { margin-bottom:15px }
#comments-container li { padding:20px 8px }
#comments-container li:nth-child(even) { background-color: #F8F8F8; }
.comments-container li { padding:20px 8px }
.comments-container li:nth-child(even) { background-color: #F8F8F8; }
.signup-xup { width:64px; height:64px; margin:0 5px; padding:12px; }
.signup-xup i { font-size: 3em; }

View File

@@ -142,8 +142,8 @@ h1.bbcode, h2.bbcode, h3.bbcode, h4.bbcode, h5.bbcode, h6.bbcode { }/* override
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 }
.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); }
@@ -256,7 +256,7 @@ div.e-comment-edit-save { margin-top:8px; padding: 5px }
.e-rate-down img { opacity: 0.4 }
/*
#comments-container .comment-box:nth-child(even) {
.comments-container .comment-box:nth-child(even) {
background: red;
}
*/