diff --git a/app/views/course/forum/area/add.php b/app/views/course/forum/area/add.php index 310bc9b7261bd14175e40ebb40ed7bdbf5c6537a..eac15459a4a7186bc9e5e61b574b611015e3477d 100644 --- a/app/views/course/forum/area/add.php +++ b/app/views/course/forum/area/add.php @@ -8,13 +8,11 @@ <? if ($entry['chdate'] >= $visitdate && $entry['user_id'] !== $GLOBALS['user']->id): ?> <?= Icon::create('forum', Icon::ROLE_ATTENTION)->asImg([ 'title' => _('Dieser Eintrag ist neu!'), - 'style' => 'margin-bottom: 15px', ]) ?> <? else : ?> <? $num_postings = ForumVisit::getCount($entry['topic_id'], $visitdate) ?> <?= Icon::create('forum', $num_postings > 0 ? Icon::ROLE_ATTENTION : Icon::ROLE_INFO)->asImg([ 'title' => ForumHelpers::getVisitText($num_postings, $entry['topic_id'], $constraint['depth']), - 'style' => 'margin-bottom: 15px;', ]) ?> <? endif ?> </a> diff --git a/resources/assets/stylesheets/scss/forum.scss b/resources/assets/stylesheets/scss/forum.scss index 2079975ef81ea6a04f749f5c7ebf16c5d5561aea..f46383c7ee13d63f10a658f5841f97d7914eefab 100644 --- a/resources/assets/stylesheets/scss/forum.scss +++ b/resources/assets/stylesheets/scss/forum.scss @@ -150,7 +150,10 @@ html.no-js #forum { height: 50px; white-space: nowrap; text-align: center; - vertical-align: middle; + + * { + vertical-align: middle; + } } .icon_thread {