We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb80a5f commit 9d19cb6Copy full SHA for 9d19cb6
template.html.jinja
@@ -57,9 +57,8 @@
57
document.querySelectorAll('.progress-bar').forEach(progressBar => {
58
const textWidth = progressBar.scrollWidth;
59
const barWidth = progressBar.offsetWidth;
60
- const padding = 6;
61
62
- if (barWidth < textWidth + padding) {
+ if (barWidth < textWidth) {
63
progressBar.classList.add('low');
64
} else {
65
progressBar.classList.remove('low');
0 commit comments