Skip to content

Commit 77362f1

Browse files
committed
Fix margin in comment section
1 parent 81c802c commit 77362f1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/templates/Comment/Section.inc.phtml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ $c_delete_visible_admin = ($active_user && ($active_user->getOptionsBitmask() &
4747
</div>
4848
</div>
4949
<? if ($active_user) { ?>
50-
<div class="row mt-3">
51-
<div class="col-2"></div>
50+
<div class="row my-3 justify-content-center">
5251
<div class="col-8">
5352
<form method="POST" action="<?=Common::relativeUrlToAbsolute('/comment/create')?>">
5453
<input type="hidden" name="parent_type" value="<?=$comment_parent_type?>"/>
@@ -61,6 +60,5 @@ $c_delete_visible_admin = ($active_user && ($active_user->getOptionsBitmask() &
6160
<input class="btn btn-sm btn-secondary" type="submit" value="Comment"/>
6261
</form>
6362
</div>
64-
<div class="col-2"></div>
6563
</div>
6664
<? } ?>

0 commit comments

Comments
 (0)