Mining/ui/src/app/chart.component.css

31 lines
547 B
CSS

.chart-container {
width: 100%;
height: 300px;
min-height: 200px;
display: flex;
flex-direction: column;
}
.hashrate-chart {
width: 100%;
height: 300px;
min-height: 200px;
display: block;
}
/* Ensure Highcharts container fills the space */
.hashrate-chart ::ng-deep .highcharts-container {
width: 100% !important;
height: 100% !important;
}
.chart-loading {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 1rem;
height: 200px;
color: #94a3b8;
font-size: 0.9rem;
}