summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEltrac <45323514+BigCoke233@users.noreply.github.com>2019-07-16 14:32:42 +0800
committerGitHub <noreply@github.com>2019-07-16 14:32:42 +0800
commitc0a0f26cb2e9715478ce4eeec2c660e738a2d7da (patch)
treeb483fa3a2d9c2776c8fafc3c7d3ef271de193be1
parent80a0a02c0b83bf578c26671faa56cc0ff77f1e1e (diff)
修复动态文字过短时,两条动态处于一行内的 bug
-rw-r--r--saying.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/saying.php b/saying.php
index 2c24fcc..18d7ea6 100644
--- a/saying.php
+++ b/saying.php
@@ -18,6 +18,7 @@ $this->need('includes/header.php');
}
$commentLevelClass = $comments->_levels > 0 ? ' comment-child' : ' comment-parent'; //评论层数大于0为子级,否则是父级
?>
+<div>
<div id="li-<?php $comments->theId(); ?>" class="bubble saying-body comment-body<?php
if ($comments->_levels > 0) {
echo ' comment-child';
@@ -34,6 +35,7 @@ echo $commentClass;
<span class="saying-meta"><i class="iconfont icon-clock"></i> <?php $comments->date('F jS, Y'); ?></span>
</div>
</div>
+</div>
<?php } ?>
<main class="main-container container">