fix(actualgraph): fix responsiveness
This commit is contained in:
parent
e770c97f91
commit
9ed5499042
|
|
@ -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">
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user