We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f071dc commit 348e0e5Copy full SHA for 348e0e5
template.html.jinja
@@ -53,10 +53,10 @@
53
<script>
54
function updateProgressBarVisibility() {
55
document.querySelectorAll('.progress-bar').forEach(progressBar => {
56
- const textWidth = progressBar.scrollWidth;
+ const barWithOverflowWidth = progressBar.scrollWidth;
57
const barWidth = progressBar.offsetWidth;
58
59
- if (barWidth < textWidth) {
+ if (barWidth < barWithOverflowWidth) {
60
progressBar.classList.add('low');
61
} else {
62
progressBar.classList.remove('low');
0 commit comments