Enhance infinite scroll functionality; increase sentinel height and ensure full width, trigger layout recalculation on initialization. Try to fix: https://github.com/willmiao/ComfyUI-Lora-Manager/issues/24

This commit is contained in:
Will Miao
2025-03-07 06:50:31 +08:00
parent fb75757d6c
commit a1e9e440ed
2 changed files with 10 additions and 3 deletions

View File

@@ -85,7 +85,7 @@
{% else %}
{% include 'components/controls.html' %}
<!-- Lora卡片容器 -->
<div class="card-grid" id="loraGrid">
<div class="card-grid" id="loraGrid" style="height: calc(100vh - [header-height]px); overflow-y: auto;">
<!-- Cards will be dynamically inserted here -->
</div>
{% endif %}