Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

Commit

Permalink
fix culture-based bar-rendering errors
Browse files Browse the repository at this point in the history
  • Loading branch information
aspriddell committed Feb 10, 2023
1 parent ac8bdc4 commit bebc3fe
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
@using System.Globalization
<div>
<h3 class="mt-0">@Title</h3>
<div class="d6-progress progress">
<div class="progress-bar bg-success" role="progressbar" style="width: @Progress.ToString("f2")%"></div>
<div class="progress-bar bg-success" role="progressbar" style="width: @Progress.ToString("f2", CultureInfo.InvariantCulture)%"></div>
</div>
<div class="d-flex">
@ChildContent
Expand Down

0 comments on commit bebc3fe

Please sign in to comment.