Fix mining dashboard hashrate graph height

This commit is contained in:
Mononaut
2024-02-08 00:03:34 +00:00
parent ca2c5d3628
commit e268a6a033
2 changed files with 1 additions and 2 deletions

View File

@@ -54,7 +54,7 @@
</form>
</div>
<div [class]="!widget ? 'chart' : 'chart-widget'" echarts [initOpts]="chartInitOptions" [options]="chartOptions"
<div [class]="!widget ? 'chart' : 'chart-widget'" [style]="{ height: widget ? ((height + 20) + 'px') : null}" echarts [initOpts]="chartInitOptions" [options]="chartOptions"
(chartInit)="onChartInit($event)">
</div>
<div class="text-center loadingGraphs" *ngIf="isLoading">

View File

@@ -57,7 +57,6 @@
}
.chart-widget {
width: 100%;
height: 100%;
}
.pool-distribution {