From a8253ac41d46ebf7b8f77ced8e0e51be0f366286 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Wed, 21 Jun 2023 17:18:17 +0200 Subject: [PATCH] Rework article button's html / css The area was originally only used for the Like buttons, later the report button was also placed there, which is why the name `articleLikeButtons` is now misleading. Closes #5522 --- com.woltlab.wcf/templates/article.tpl | 7 ++++--- wcfsetup/install/files/style/ui/article.scss | 8 ++------ 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/com.woltlab.wcf/templates/article.tpl b/com.woltlab.wcf/templates/article.tpl index 2d54f675dc..668edd110e 100644 --- a/com.woltlab.wcf/templates/article.tpl +++ b/com.woltlab.wcf/templates/article.tpl @@ -187,7 +187,7 @@ {/if}
-
diff --git a/wcfsetup/install/files/style/ui/article.scss b/wcfsetup/install/files/style/ui/article.scss index fa61d02b1d..7552cb43b0 100644 --- a/wcfsetup/install/files/style/ui/article.scss +++ b/wcfsetup/install/files/style/ui/article.scss @@ -52,16 +52,12 @@ align-items: center; } - .articleLikeButtons { + .articleButtons { justify-content: flex-end; - - .invisible { - display: inline; - } } .articleLikesSummery:not(:empty), - .articleLikeButtons:not(:empty) { + .articleButtons:not(:empty) { margin-top: 20px; } -- 2.20.1