Skip to content

Commit

Permalink
fix: prograss bar
Browse files Browse the repository at this point in the history
  • Loading branch information
toxicaker committed Aug 18, 2018
1 parent 8e4fd61 commit b00c5aa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions templates/company.html
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ <h1>{{ company_name }}</h1>
style="display: inline-block;width: 100px;height:10px;margin-bottom: 0;">
<div class="progress-bar progress-bar-success" role="progressbar"
aria-valuenow="{{ p['frequency'] }}"
aria-valuemin="0" aria-valuemax="607"
style="width: {{ (p['frequency'] / 608)*100 }}%">
aria-valuemin="0" aria-valuemax="7.54"
style="width: {{ (p['frequency'] / 7.54)*100 }}%">
<span class="sr-only">40% Complete (success)</span>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ <h1>LeetCode Problems</h1>
style="display: inline-block;width: 100px;height:10px;margin-bottom: 0;">
<div class="progress-bar progress-bar-success" role="progressbar"
aria-valuenow="{{ p['frequency'] }}"
aria-valuemin="0" aria-valuemax="607"
style="width: {{ (p['frequency'] / 608)*100 }}%">
aria-valuemin="0" aria-valuemax="7.54"
style="width: {{ (p['frequency'] / 7.54)*100 }}%">
<span class="sr-only">40% Complete (success)</span>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions templates/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ <h1>LeetCode Problems</h1>
style="display: inline-block;width: 100px;height:10px;margin-bottom: 0;">
<div class="progress-bar progress-bar-success" role="progressbar"
aria-valuenow="{{ p['frequency'] }}"
aria-valuemin="0" aria-valuemax="607"
style="width: {{ (p['frequency'] / 608)*100 }}%">
aria-valuemin="0" aria-valuemax="7.54"
style="width: {{ (p['frequency'] / 7.54)*100 }}%">
<span class="sr-only">40% Complete (success)</span>
</div>
</div>
Expand Down

0 comments on commit b00c5aa

Please sign in to comment.