Fix spaces breaking the bar
This commit is contained in:
parent
05b97399c0
commit
184080a179
2 changed files with 4 additions and 5 deletions
|
@ -17,8 +17,8 @@ var drawProgressBars = function(to_do, doing, done) {
|
|||
let done_percent = 0;
|
||||
|
||||
if (total > 0) {
|
||||
let doing_percent = (doing / total) * 100;
|
||||
let done_percent = (done / total) * 100;
|
||||
doing_percent = (doing / total) * 100;
|
||||
done_percent = (done / total) * 100;
|
||||
}
|
||||
|
||||
let pointsBarElement = document.getElementById('pointsBar');
|
||||
|
@ -34,8 +34,7 @@ var drawProgressBars = function(to_do, doing, done) {
|
|||
<div style="width: 100px">
|
||||
<div class="tooltipped tooltipped-s" aria-label="${done} done / ${doing} in progress / ${to_do} to do">
|
||||
<span class="progress-bar progress-bar-small">
|
||||
<span style="width: ${done_percent}%" class="progress d-inline-block bg-blue"> </span>
|
||||
<span style="width: ${doing_percent}%" class="progress d-inline-block bg-yellow"> </span>
|
||||
<span style="width: ${done_percent}%;" class="progress d-inline-block bg-blue"> </span><span style="width: ${doing_percent}%;" class="progress d-inline-block bg-yellow"> </span>
|
||||
</span>
|
||||
</div>
|
||||
</div>`;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"manifest_version": 2,
|
||||
"name": "GithubPoints",
|
||||
"version": "1.1",
|
||||
"version": "1.1.2",
|
||||
|
||||
"description": "Adds points and summary to the Github Project page",
|
||||
|
||||
|
|
Loading…
Reference in a new issue