fix(actualgraph): fix responsiveness

This commit is contained in:
Desy Ayurianti 2024-11-12 13:57:05 +07:00
parent e770c97f91
commit 9ed5499042
2 changed files with 10 additions and 1 deletions

View File

@ -8,7 +8,7 @@
<button (click)="loadData('npk2')" [ngClass]="{'active-button': selectedButton === 'npk2'}">NPK 2</button>
</div>
<div class="graph loading">
<div class="graph">
<div class="title-graph" *ngIf="selectedButton === 'npk1'">Actual Graph Sensor NPK 1</div>
<div class="title-graph" *ngIf="selectedButton === 'npk2'">Actual Graph Sensor NPK 2</div>
<div class="graph-content">

View File

@ -29,6 +29,7 @@
align-items: center;
text-align: center;
margin-top: 20px;
overflow-x: auto;
}
.table th,
@ -69,6 +70,10 @@
margin: auto;
font-size: 15px;
}
.table{
font-size: 10px;
}
}
@media (max-width: 344px) {
@ -82,6 +87,10 @@
font-size: 15px;
margin: auto;
}
.table{
font-size: 10px;
}
}
button {