From a73fc60446a15b81a8c9a9a994c83aedfdf7ab09 Mon Sep 17 00:00:00 2001
From: Lukas Haase <lukas.haase@mni.thm.de>
Date: Mon, 11 Oct 2021 13:24:53 +0200
Subject: [PATCH] fix layout bug

---
 .../components/shared/comment-list/comment-list.component.html  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/app/components/shared/comment-list/comment-list.component.html b/src/app/components/shared/comment-list/comment-list.component.html
index 28de46839..e9ad89156 100644
--- a/src/app/components/shared/comment-list/comment-list.component.html
+++ b/src/app/components/shared/comment-list/comment-list.component.html
@@ -288,7 +288,7 @@
                      [pageSizeOptions]="pageSizeOptions"
                      [pageIndex]="pageIndex"
                      [length]="(hideCommentsList ? filteredComments : commentsFilteredByTime).length"></ars-mat-paginator>
-  <ars-row [height]="64">
+  <ars-row [height]="64" *ngIf="(hideCommentsList ? filteredComments : commentsFilteredByTime).length>0">
   </ars-row>
 
 </div>
-- 
GitLab