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

Change favorite icon

parent fedd348c
1 merge request!192Resolve "comment view is over the timestamp in student mobile view" + 2 more fixes
Pipeline #26741 passed with stages
in 5 minutes and 13 seconds
.outer-card {
margin-bottom: 3%;
background-color: var(--primary);
}
app-comment {
overflow: auto;
overflow-wrap: break-word;
......
......@@ -16,7 +16,7 @@
</button>
<button mat-icon-button [disabled]="isStudent"
(click)="setFavorite(comment)">
<mat-icon [ngClass]="{true: 'favorite-icon', false: 'not-marked'}[comment.favorite]">favorite_border</mat-icon>
<mat-icon [ngClass]="{true: 'favorite-icon', false: 'not-marked'}[comment.favorite]">favorite</mat-icon>
</button>
<button mat-icon-button [disabled]="isStudent" (click)="setRead(comment)">
<mat-icon class="icon" [ngClass]="{'read-icon': comment.read, 'not-marked' : !comment.read}">visibility
......
#comment-card {
margin-bottom: 20px;
margin-bottom: 3%;
background-color: var(--surface);
cursor: pointer;
padding: 1.5% 1.5% 3% 3%;
......
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