Skip to content

Commit

Permalink
Fix the color of a rack's weight and consumption
Browse files Browse the repository at this point in the history
  • Loading branch information
Lainow authored and trasher committed Dec 22, 2023
1 parent 2ee311a commit c04505d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/Html.php
Original file line number Diff line number Diff line change
Expand Up @@ -932,13 +932,13 @@ public static function progressBar($id, array $options = [])
$out = '';
if ($params['create']) {
$out = <<<HTML
<div class="progress" style="height: 16px" id="{$id}">
<div class="progress-bar progress-bar-striped bg-info" role="progressbar"
style="width: 0%; overflow: visible"
aria-valuenow="0"
aria-valuemin="0" aria-valuemax="100"
id="{$id}_text">
</div>
<div class="progress bg-primary-emphasis bg-light" style="height: 16px" id="{$id}">
<div class="progress-bar progress-bar-striped bg-info text-dark" role="progressbar"
style="width: 0%; overflow: visible;"
aria-valuenow="0"
aria-valuemin="0" aria-valuemax="100"
id="{$id}_text">
</div>
</div>
HTML;
}
Expand Down

0 comments on commit c04505d

Please sign in to comment.