Fix mining dashboard hashrate graph height

This commit is contained in:
Mononaut 2024-02-08 00:03:34 +00:00
parent ca2c5d3628
commit e268a6a033
No known key found for this signature in database
GPG Key ID: A3F058E41374C04E
2 changed files with 1 additions and 2 deletions

View File

@ -54,7 +54,7 @@
</form> </form>
</div> </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)"> (chartInit)="onChartInit($event)">
</div> </div>
<div class="text-center loadingGraphs" *ngIf="isLoading"> <div class="text-center loadingGraphs" *ngIf="isLoading">

View File

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