summaryrefslogtreecommitdiff
path: root/src/application/views/view_post.php
diff options
context:
space:
mode:
authorJonas Kohl2024-09-18 23:05:35 +0200
committerJonas Kohl2024-09-18 23:05:35 +0200
commit01454544896827113e49db0d2848b5aab6ce14ae (patch)
tree9487c3d45a04d350bca2ed8401a797ed69cd7e8a /src/application/views/view_post.php
parenta65d424263adfbff9629c7d91a613e4504c84613 (diff)
Many changes
Diffstat (limited to 'src/application/views/view_post.php')
-rw-r--r--src/application/views/view_post.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/application/views/view_post.php b/src/application/views/view_post.php
index 18be820..62b2d18 100644
--- a/src/application/views/view_post.php
+++ b/src/application/views/view_post.php
@@ -35,13 +35,13 @@ $is_op = $postAuthor?->id === $topicAuthor?->id && $postAuthor?->id !== null;
</div>
<div class="media-body">
<div class="well icon-well text-warning">
- <span class="glyphicon glyphicon-exclamation-sign color-warning" aria-hidden="true"></span>
+ <span class="glyphicon glyphicon-exclamation-sign text-warning" aria-hidden="true"></span>
<em><?= __("This post has been deleted") ?></em>
</div>
</div>
</div>
<?php else: ?>
-<div class="media" id="post-<?= htmlentities($post->id) ?>" data-text="<?= htmlentities($post->content) ?>">
+<div class="media" id="post-<?= htmlentities($post->id) ?>" data-text="<?= htmlentities($post->content) ?>" style="overflow: visible;">
<?php if (!$hide_pfp): ?>
<div class="media-left hidden-sm hidden-xs">
<?php if ($postAuthor): ?>
@@ -57,7 +57,7 @@ $is_op = $postAuthor?->id === $topicAuthor?->id && $postAuthor?->id !== null;
<?php endif; ?>
</div>
<?php endif; ?>
- <div class="media-body">
+ <div class="media-body" style="overflow: visible;">
<div class="panel panel-default">
<div class="panel-heading">
<div class="panel-title h3">
@@ -100,7 +100,7 @@ $is_op = $postAuthor?->id === $topicAuthor?->id && $postAuthor?->id !== null;
<?php endif; ?>
</div>
<div class="panel-body">
- <div class="post-content"><?= renderPost(trim($post->content)) ?></div>
+ <div class="post-content"><?= renderPost($post->content) ?></div>
<?php if (count($imageAttachments) > 0): ?>
<div class="post-images clearfix">
<?php /** @var Attachment $attachment */ foreach ($imageAttachments as $attachment): ?>