Skip to content
Snippets Groups Projects
Commit e75b02cf authored by Lukas Mauß's avatar Lukas Mauß
Browse files

Fix filter-icons of correct and wrong

parent 2feee4a5
1 merge request!401Resolve "The session dialog is not scrollable"
Pipeline #30346 passed with stages
in 8 minutes and 29 seconds
...@@ -59,16 +59,16 @@ ...@@ -59,16 +59,16 @@
<mat-menu #filterMenu="matMenu" xPosition="before"> <mat-menu #filterMenu="matMenu" xPosition="before">
<div> <div>
<button mat-icon-button (focus)="hideCommentsList=true" matTooltip="{{ 'comment-list.wrong' | translate }}"
(click)="filterComments(wrong)">
<mat-icon [ngClass]="{correct: 'wrong-icon'}[currentFilter]">not_interested</mat-icon>
</button>
<button mat-icon-button (focus)="hideCommentsList=true" matTooltip="{{ 'comment-list.correct' | translate }}" <button mat-icon-button (focus)="hideCommentsList=true" matTooltip="{{ 'comment-list.correct' | translate }}"
(click)="filterComments(correct)"> (click)="filterComments(correct)">
<mat-icon [ngClass]="{correct: 'correct-icon'}[currentFilter]">check_circle</mat-icon> <mat-icon [ngClass]="{correct: 'correct-icon'}[currentFilter]">check_circle</mat-icon>
</button> </button>
<button mat-icon-button (focus)="hideCommentsList=true" matTooltip="{{ 'comment-list.wrong' | translate }}"
(click)="filterComments(wrong)">
<mat-icon [ngClass]="{wrong: 'wrong-icon'}[currentFilter]">not_interested</mat-icon>
</button>
<button mat-icon-button (focus)="hideCommentsList=true" matTooltip="{{ 'comment-list.favorite' | translate }}" <button mat-icon-button (focus)="hideCommentsList=true" matTooltip="{{ 'comment-list.favorite' | translate }}"
(click)="filterComments(favorite)"> (click)="filterComments(favorite)">
<mat-icon [ngClass]="{favorite: 'favorite-icon'}[currentFilter]">grade</mat-icon> <mat-icon [ngClass]="{favorite: 'favorite-icon'}[currentFilter]">grade</mat-icon>
......
...@@ -104,6 +104,10 @@ h4 { ...@@ -104,6 +104,10 @@ h4 {
color: var(--green); color: var(--green);
} }
.wrong-icon {
color: var(--red);
}
.read-icon { .read-icon {
color: var(--blue); color: var(--blue);
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment