feat(reDesign): improve metrics styling

This commit is contained in:
Johannes Millan 2019-09-22 01:33:06 +02:00
parent b723a05339
commit b5c8fb7de8
2 changed files with 12 additions and 1 deletions

View file

@ -1,7 +1,7 @@
<div *ngIf="metricService.simpleMetrics$|async as sm"
[@fade]
class="wrapper">
<section style="max-width: 400px; margin: auto; text-align: center;">
<section class="basic-stats">
<!-- <h2>Basic Metrics</h2>-->
<p><i>{{sm.start}} {{sm.end}}</i></p>
<div class="material-table">

View file

@ -8,6 +8,13 @@ h3 {
margin-top: $s*3;
}
.basic-stats {
max-width: 400px;
margin-left: auto;
margin-right: auto;
text-align: center;
}
.chart-wrapper {
}
@ -20,3 +27,7 @@ h3 {
}
}
}
section {
margin-bottom: 2*$s;
}