|
1 | 1 | <!-- stats --> |
2 | 2 | <mat-card> |
3 | | - <mat-grid-list cols="2" style="margin-bottom: 3%"> |
4 | | - <mat-grid-tile [colspan]="1" [rowspan]="1"> |
5 | | - <mat-card-content class="chart"> |
6 | | - <div |
7 | | - fxLayout="column" |
8 | | - fxLayoutAlign="center center" |
9 | | - style="height: 100%" |
10 | | - > |
11 | | - <mat-card-title>{{ chartNames[0] }}</mat-card-title> |
12 | | - <canvas id="importantChecks"></canvas> |
13 | | - </div> |
14 | | - </mat-card-content> |
| 3 | + <mat-grid-list cols="2" rowHeight="20:12" gutterSize="1em"> |
| 4 | + <mat-grid-tile> |
| 5 | + <div fxLayout="column" fxLayoutAlign="center center" class="chart"> |
| 6 | + <mat-card-title>{{ chartNames[0] }}</mat-card-title> |
| 7 | + <canvas id="importantChecks"></canvas> |
| 8 | + </div> |
15 | 9 | </mat-grid-tile> |
16 | | - <mat-grid-tile [colspan]="1" [rowspan]="1"> |
17 | | - <mat-card-content class="chart"> |
18 | | - <div |
19 | | - fxLayout="column" |
20 | | - fxLayoutAlign="center center" |
21 | | - style="height: 100%" |
22 | | - > |
23 | | - <mat-card-title>{{ chartNames[1] }}</mat-card-title> |
24 | | - <canvas id="importantChecksPercentage"></canvas> |
25 | | - </div> |
26 | | - </mat-card-content> |
| 10 | + <mat-grid-tile> |
| 11 | + <div fxLayout="column" fxLayoutAlign="center center" class="chart"> |
| 12 | + <mat-card-title>{{ chartNames[1] }}</mat-card-title> |
| 13 | + <canvas id="importantChecksPercentage"></canvas> |
| 14 | + </div> |
27 | 15 | </mat-grid-tile> |
28 | | - <mat-grid-tile [colspan]="1" [rowspan]="1"> |
29 | | - <mat-card-content class="chart"> |
30 | | - <div |
31 | | - fxLayout="column" |
32 | | - fxLayoutAlign="center center" |
33 | | - style="height: 100%" |
34 | | - > |
35 | | - <mat-card-title>{{ chartNames[2] }}</mat-card-title> |
36 | | - <canvas id="checksPerCategorie"></canvas> |
37 | | - </div> |
38 | | - </mat-card-content> |
| 16 | + <mat-grid-tile> |
| 17 | + <div fxLayout="column" fxLayoutAlign="center center" class="chart"> |
| 18 | + <mat-card-title>{{ chartNames[2] }}</mat-card-title> |
| 19 | + <canvas id="checksPerCategorie"></canvas> |
| 20 | + </div> |
39 | 21 | </mat-grid-tile> |
40 | | - <mat-grid-tile [colspan]="1" [rowspan]="1"> |
41 | | - <mat-card-content class="chart"> |
42 | | - <div |
43 | | - fxLayout="column" |
44 | | - fxLayoutAlign="center center" |
45 | | - style="height: 100%" |
46 | | - > |
47 | | - <mat-card-title>{{ chartNames[3] }}</mat-card-title> |
48 | | - <canvas id="checksPerCategoriePercentage"></canvas> |
49 | | - </div> |
50 | | - </mat-card-content> |
| 22 | + <mat-grid-tile> |
| 23 | + <div fxLayout="column" fxLayoutAlign="center center" class="chart"> |
| 24 | + <mat-card-title>{{ chartNames[3] }}</mat-card-title> |
| 25 | + <canvas id="checksPerCategoriePercentage"></canvas> |
| 26 | + </div> |
51 | 27 | </mat-grid-tile> |
52 | 28 | </mat-grid-list> |
53 | 29 | </mat-card> |
|
0 commit comments