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 82d4d56 commit cb80a5fCopy full SHA for cb80a5f
template.html.jinja
@@ -57,8 +57,9 @@
57
document.querySelectorAll('.progress-bar').forEach(progressBar => {
58
const textWidth = progressBar.scrollWidth;
59
const barWidth = progressBar.offsetWidth;
60
+ const padding = 6;
61
- if (barWidth < textWidth) {
62
+ if (barWidth < textWidth + padding) {
63
progressBar.classList.add('low');
64
} else {
65
progressBar.classList.remove('low');
0 commit comments