mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 15:16:30 +02:00
#2898 fix comments offsets for bootstrap4
This commit is contained in:
@@ -263,7 +263,7 @@ class comment
|
|||||||
|
|
||||||
// -------------------------------------------------------------
|
// -------------------------------------------------------------
|
||||||
|
|
||||||
$indent = ($action == 'reply') ? " class='media col-md-offset-1 offset1' " : " class='media' ";
|
$indent = ($action == 'reply') ? " class='media offset-md-1 col-md-offset-1 offset1' " : " class='media' ";
|
||||||
$formid = ($action == 'reply') ? "e-comment-form-reply" : "e-comment-form";
|
$formid = ($action == 'reply') ? "e-comment-form-reply" : "e-comment-form";
|
||||||
|
|
||||||
$text = "\n<div{$indent}>\n".e107::getMessage()->render('postcomment', true, false, false);//temporary here
|
$text = "\n<div{$indent}>\n".e107::getMessage()->render('postcomment', true, false, false);//temporary here
|
||||||
@@ -482,7 +482,7 @@ class comment
|
|||||||
{
|
{
|
||||||
|
|
||||||
$renderstyle = $COMMENT_TEMPLATE['item_start'];
|
$renderstyle = $COMMENT_TEMPLATE['item_start'];
|
||||||
$renderstyle .= "<div class='row media offset".$width." col-md-".(12 - (int) $width)." col-md-offset-".$width."' >".$COMMENT_TEMPLATE['item']."</div>";
|
$renderstyle .= "<div class='row media offset".$width." col-md-".(12 - (int) $width)." offset-md-".$width." col-md-offset-".$width."' >".$COMMENT_TEMPLATE['item']."</div>";
|
||||||
$renderstyle .= $COMMENT_TEMPLATE['item_end'];
|
$renderstyle .= $COMMENT_TEMPLATE['item_end'];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user