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

Fix title position in content-group list

parent 7eceb2fc
1 merge request!139Resolve "Various improvements"
<mat-card *ngFor="let contentGroup of contentGroups" (click)="viewContents(contentGroup)"> <mat-card *ngFor="let contentGroup of contentGroups" (click)="viewContents(contentGroup)">
<mat-card-header> <mat-card-header>
<mat-card-title> <mat-card-title *ngIf="contentGroup.name === 'Default'">
<h4 *ngIf="!(contentGroup.name === 'Default')">{{contentGroup.name}}</h4> {{'room-page.default-content-group' | translate}}
<h4 *ngIf="contentGroup.name === 'Default'">{{'room-page.default-content-group' | translate}}</h4>
</mat-card-title> </mat-card-title>
<mat-icon color="accent" matBadge="{{contentGroup.contentIds.length}}" <mat-card-title *ngIf="!(contentGroup.name === 'Default')">
{{contentGroup.name}}
</mat-card-title>
<mat-icon color="accent" matBadge="{{contentGroup.contentIds.length}}"
matBadgePosition="after" matBadgeColor="accent"></mat-icon> matBadgePosition="after" matBadgeColor="accent"></mat-icon>
</mat-card-header> </mat-card-header>
</mat-card> </mat-card>
...@@ -23,3 +23,7 @@ ...@@ -23,3 +23,7 @@
mat-icon { mat-icon {
margin-top: 20px; margin-top: 20px;
} }
mat-card-title {
margin-top: 18px;
}
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