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

Resize content-groups in room view

parent 7b852046
Branches
Tags
No related merge requests found
<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>
<h4 *ngIf="!(contentGroup.name == 'Default')">{{contentGroup.name}}<mat-icon color="accent" <h4 *ngIf="!(contentGroup.name === 'Default')">{{contentGroup.name}}<mat-icon color="accent"
matBadge="{{contentGroup.contentIds.length}}" matBadgePosition="after" matBadgeColor="accent"></mat-icon></h4>
<h4 *ngIf="contentGroup.name == 'Default'">{{'room-page.default-content-group' | translate}}<mat-icon color="accent"
matBadge="{{contentGroup.contentIds.length}}" matBadgePosition="after" matBadgeColor="accent"></mat-icon></h4> matBadge="{{contentGroup.contentIds.length}}" matBadgePosition="after" matBadgeColor="accent"></mat-icon></h4>
<h4 *ngIf="contentGroup.name === 'Default'">{{'room-page.default-content-group' | translate}}<mat-icon color="accent"
matBadge="{{contentGroup.contentIds.length}}" matBadgePosition="end" matBadgeColor="accent"></mat-icon></h4>
</mat-card-title> </mat-card-title>
</mat-card-header> </mat-card-header>
</mat-card> </mat-card>
...@@ -8,7 +8,9 @@ ...@@ -8,7 +8,9 @@
top: 0; top: 0;
text-align: center; text-align: center;
transition: all 0.25s; transition: all 0.25s;
margin-top: 1.5%; margin-top: 10px;
max-height: 80px;
padding: 5px;
&:hover { &:hover {
cursor: pointer; cursor: pointer;
......
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