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

Fix some styles

parent 7c22e5d6
No related merge requests found
......@@ -27,8 +27,8 @@ mat-cell {
}
mat-toolbar {
height: 15px;
color: white;
height: 20px;
background-color: white;
}
.positiveC {
......
<div>
<div fxLayoutAlign="center center">
<h3>{{subject}}</h3>
</div>
<div fxLayout="row" fxLayoutGap="20px" fxLayoutAlign="center">
<mat-card>
<mat-card-header>
<h3>{{subject}}</h3>
</mat-card-header>
<mat-divider></mat-divider>
<mat-toolbar></mat-toolbar>
<div>
<div style="display: block">
<div style="position: relative; height: 60vh">
<canvas id="chart"></canvas>
</div>
</div>
</mat-card>
</div>
mat-card {
max-width: 800px;
width: 100%;
}
mat-toolbar {
height: 15px;
background-color: white;
}
......@@ -73,6 +73,7 @@ export class StatisticComponent implements OnInit {
display: false
},
responsive: true,
maintainAspectRatio: false,
scales: {
yAxes: [{
ticks: {
......
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