From 1d1384ed4c3b5543dde99adffb6598b45bd5867c Mon Sep 17 00:00:00 2001 From: Klaus Quibeldey-Cirkel <klaus.quibeldey-cirkel@mni.thm.de> Date: Sun, 6 Sep 2020 17:30:23 +0200 Subject: [PATCH] do not open create-comment dialogue when entering comment board --- .../shared/comment-list/comment-list.component.ts | 2 ++ .../components/shared/room-list/room-list.component.scss | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/app/components/shared/comment-list/comment-list.component.ts b/src/app/components/shared/comment-list/comment-list.component.ts index 82a41b9f3..87a5fb1fc 100644 --- a/src/app/components/shared/comment-list/comment-list.component.ts +++ b/src/app/components/shared/comment-list/comment-list.component.ts @@ -127,9 +127,11 @@ export class CommentListComponent implements OnInit, OnDestroy { this.comments = comments; this.getComments(); }); + /** if (this.userRole === UserRole.PARTICIPANT) { this.openCreateDialog(); } + */ }); }); }); diff --git a/src/app/components/shared/room-list/room-list.component.scss b/src/app/components/shared/room-list/room-list.component.scss index 59d8d54a0..193aa3981 100644 --- a/src/app/components/shared/room-list/room-list.component.scss +++ b/src/app/components/shared/room-list/room-list.component.scss @@ -97,10 +97,10 @@ th, tr { cursor: pointer; } -.mat-row:nth-child(even) { - background-color: var(--alt-dialog) !important; -} - .list-entries { + padding-left: 3%; width: 100%; + &:nth-child(even) { + background-color: var(--alt-dialog); + } } -- GitLab