1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-09 08:06:38 +02:00

Issue #4332 - Bootstrap 5 styling fixes on comments and news templates.

This commit is contained in:
Cameron
2021-02-23 08:59:03 -08:00
parent de097dded3
commit 2ca7ec4597
6 changed files with 99 additions and 12 deletions

View File

@@ -479,9 +479,10 @@ class comment
// $width2 = 100 - $width;
// $total_width = "95%";
if ($width)
{
{
$renderstyle = $COMMENT_TEMPLATE['item_start'];
$renderstyle .= "<div class='media offset".$width." col-md-offset-".$width."' >".$COMMENT_TEMPLATE['item']."</div>";
$renderstyle .= "<div class='row media offset".$width." col-md-".(12 - (int) $width)." col-md-offset-".$width."' >".$COMMENT_TEMPLATE['item']."</div>";
$renderstyle .= $COMMENT_TEMPLATE['item_end'];
}
else