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

Fix list-statistic view finally

parent 2a6047c1
Branches
Tags
No related merge requests found
<div fxLayoutAlign="center" fxLayoutGap="10px">
<table mat-table [dataSource]="dataSource" class="mat-elevation-z8">
<table mat-table [dataSource]="dataSource" class="mat-elevation-z8">
<ng-container matColumnDef="content">
<mat-header-cell *matHeaderCellDef> Content </mat-header-cell>
<mat-cell *matCellDef="let cp"> {{cp.content}}</mat-cell>
</ng-container>
<ng-container matColumnDef="content">
<mat-header-cell *matHeaderCellDef> Content </mat-header-cell>
<mat-cell *matCellDef="let cp"> {{cp.content}}</mat-cell>
</ng-container>
<ng-container matColumnDef="percentage">
<mat-header-cell *matHeaderCellDef> Percentage </mat-header-cell>
<mat-cell *matCellDef="let cp"> {{cp.percent}}</mat-cell>
</ng-container>
<mat-header-row *matHeaderRowDef="displayedColumns"></mat-header-row>
<mat-row *matRowDef="let row; columns: displayedColumns"></mat-row>
</table>
</div>
<ng-container matColumnDef="percentage">
<mat-header-cell *matHeaderCellDef> Percentage </mat-header-cell>
<mat-cell *matCellDef="let cp"> {{cp.percent}}</mat-cell>
</ng-container>
<mat-header-row *matHeaderRowDef="displayedColumns"></mat-header-row>
<mat-row *matRowDef="let row; columns: displayedColumns"></mat-row>
</table>
table{
width: 100%;
}
.mat-column-percentage {
display: flex;
justify-content: flex-end;
}
mat-header-cell {
color: #3f51b5;
}
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