Skip to content

Commit

Permalink
Merge pull request #1447 from pkuehnel/fix/batteryIconFill
Browse files Browse the repository at this point in the history
fix(BatteryIcon): fill white so soc is displayed better
  • Loading branch information
pkuehnel authored Aug 25, 2024
2 parents 8308c77 + 8346458 commit f0fa49e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TeslaSolarCharger/Client/Components/BatteryIcon.razor
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
{
<svg width="42" height="21" viewBox="0 0 42 21">
<rect x="1" y="1" width="38" height="19" rx="2" ry="2"
style="fill:none; stroke:black; stroke-width:1.4" />
style="fill:white; stroke:black; stroke-width:1.4" />
<rect x="39" y="6" width="3" height="9"
style="fill:black; stroke:black; stroke-width:0.7" />
<rect x="2" y="2" width="@(35 * StateOfCharge / 100)" height="17"
<rect x="2" y="2" width="@(36 * StateOfCharge / 100)" height="17"
style="fill:@GetBatteryColor(StateOfCharge.Value); stroke-width:0" />
<text x="21" y="12" text-anchor="middle" fill="black"
style="font-size: 10px; font-weight: bold; dominant-baseline: middle;">
Expand Down

0 comments on commit f0fa49e

Please sign in to comment.