Skip to content

Commit

Permalink
Poprawienie wyświetlania czasu
Browse files Browse the repository at this point in the history
  • Loading branch information
pktiuk committed Apr 15, 2024
1 parent 7a4ac3c commit 69bc526
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1954,7 +1954,7 @@ div details ul {
}
.haczyk_left {
position: relative;
width: 220px;
width: 230px;
height: 40px;
margin: auto;
border-radius: 25px 0px 0px 25px;
Expand Down Expand Up @@ -1983,7 +1983,7 @@ div details ul {
height: 0%;
text-align: center;
top: 50%;
left: 25px;
left: 20px;
width:85%;
font-weight: 700;
font-size: 19px;
Expand Down
4 changes: 2 additions & 2 deletions static/js/badge.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,12 @@ haczykStatusList.forEach(haczykStatus => {
}
if (secondsPassed > 60*60) {
const hours = Math.floor(secondsPassed/(60*60));
haczykLeftText.textContent += ' od' + hours + ' godzin';
haczykLeftText.textContent += ' od ' + hours + ' godz.';
return;
}
if (secondsPassed > 60) {
const minutes = Math.floor(secondsPassed/60);
haczykLeftText.textContent += ' od' + minutes + ' minut';
haczykLeftText.textContent += ' od ' + minutes + ' minut';
return;
}
}
Expand Down

0 comments on commit 69bc526

Please sign in to comment.