fix(ui): hide scroll loading indicator when no more content to load

This commit is contained in:
2026-07-07 13:45:25 +08:00
parent ad6f2b2ff2
commit fed060ea84
2 changed files with 6 additions and 0 deletions

View File

@@ -45,8 +45,10 @@
</div>
{% endfor %}
</div>
{% if has_more %}
<div id="scroll-sentinel" style="height:1px"></div>
<div id="scroll-loading" style="text-align:center;padding:1rem;color:var(--text-muted);display:none"></div>
{% endif %}
{% else %}
<div class="empty-state">
<p>{{ 'index.empty'|t(lang) }}</p>