From 9e1c49e36db2a40809dc9d9f6f18fcad066130f4 Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Willms Date: Tue, 7 Mar 2023 08:38:36 +0000 Subject: forum: fix alignment of handle and icon, fixes #2263 Closes #2263 Merge request studip/studip!1495 --- app/views/course/forum/area/add.php | 2 -- resources/assets/stylesheets/scss/forum.scss | 5 ++++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/views/course/forum/area/add.php b/app/views/course/forum/area/add.php index 310bc9b..eac1545 100644 --- a/app/views/course/forum/area/add.php +++ b/app/views/course/forum/area/add.php @@ -8,13 +8,11 @@ = $visitdate && $entry['user_id'] !== $GLOBALS['user']->id): ?> asImg([ 'title' => _('Dieser Eintrag ist neu!'), - 'style' => 'margin-bottom: 15px', ]) ?> 0 ? Icon::ROLE_ATTENTION : Icon::ROLE_INFO)->asImg([ 'title' => ForumHelpers::getVisitText($num_postings, $entry['topic_id'], $constraint['depth']), - 'style' => 'margin-bottom: 15px;', ]) ?> diff --git a/resources/assets/stylesheets/scss/forum.scss b/resources/assets/stylesheets/scss/forum.scss index 2079975..f46383c 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 { -- cgit v1.0