1. 增加服务器图片管理

This commit is contained in:
2026-08-10 22:33:04 +08:00
parent df35018805
commit 86cdc146c7
12 changed files with 751 additions and 7 deletions
+1 -1
View File
@@ -34,7 +34,7 @@
<div class="row g-0">
{% if n.cover_image %}
<div class="col-4">
<img src="{{ n.cover_image.url }}" class="img-fluid rounded-start h-100" alt="{% ml_field n 'title' %}" style="object-fit: cover; min-height: 100px;">
<img src="{{ n.cover_image.url }}" class="img-fluid rounded-start w-100" alt="{% ml_field n 'title' %}" style="height: 110px; object-fit: contain; background: #f7f8fa; padding: 0.25rem;">
</div>
{% endif %}
<div class="{% if n.cover_image %}col-8{% else %}col-12{% endif %}">