We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 348e0e5 commit d2e3a49Copy full SHA for d2e3a49
template.html.jinja
@@ -54,7 +54,7 @@
54
function updateProgressBarVisibility() {
55
document.querySelectorAll('.progress-bar').forEach(progressBar => {
56
const barWithOverflowWidth = progressBar.scrollWidth;
57
- const barWidth = progressBar.offsetWidth;
+ const barWidth = progressBar.clientWidth;
58
59
if (barWidth < barWithOverflowWidth) {
60
progressBar.classList.add('low');
0 commit comments