Skip to content

Commit

Permalink
fix: Power section on mobile improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
mrv777 committed Oct 7, 2024
1 parent 3d15c25 commit 76c9ecb
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,21 +103,21 @@ <h4>Loading...</h4>
<div class="card">
<h5>Power</h5>
<div class="grid text-center">
<div class="col-4">
<div class="col-6 sm:col-4">
<p-knob [min]="3" [max]="maxPower" [readonly]="true" [(ngModel)]="info.power"
valueTemplate="{value}W"></p-knob>
Power
</div>

<div class="col-4">
<div class="col-6 sm:col-4">
<p-knob [min]="4.5" [max]="5.5" [readonly]="true" [(ngModel)]="info.voltage"
valueTemplate="{value}V"
[valueColor]="info.voltage < 4.8 ? '#ff0000' : 'var(--primary-color, Black)'"></p-knob>
Input Voltage
<span class="danger" *ngIf="info.voltage < 4.8">&nbsp; Danger: Low voltage</span>
</div>

<div class="col-4">
<div class="col-6 sm:col-4">
<p-knob [min]="0.9" [max]="1.8" [readonly]="true" [(ngModel)]="info.coreVoltage"
valueTemplate="{value}V"></p-knob>
ASIC Voltage Requested
Expand Down

0 comments on commit 76c9ecb

Please sign in to comment.