diff --git a/app/static/style.css b/app/static/style.css index 6340572..a0d0368 100644 --- a/app/static/style.css +++ b/app/static/style.css @@ -214,6 +214,7 @@ code { background: var(--bg); padding: .15rem .4rem; border-radius: 4px; font-si .postcard-row-info span { white-space: nowrap; color: var(--text-muted); } .postcard-row-action { flex-shrink: 0; } .postcard-row-date { font-size: .78rem; color: var(--text-muted); white-space: nowrap; } +.postcard-row-detail { display: flex; flex-direction: column; gap: 0; font-size: .85rem; color: var(--text-muted); } /* Filter */ .filter-bar { margin-bottom: 1.25rem; } diff --git a/app/templates/postcards.html b/app/templates/postcards.html index ed3c4a6..da2b71e 100644 --- a/app/templates/postcards.html +++ b/app/templates/postcards.html @@ -35,8 +35,10 @@
{{ pc.card_number }} - {{ pc.country|flag }} {{ pc.country or '-' }} - → {{ pc.recipient_name or '-' }} +
+ {{ pc.country|flag }} {{ pc.country or '-' }} + → {{ pc.recipient_name or '-' }} +
{{ {'sent':'已寄出','delivered':'已送达'}.get(pc.status) }} {% if pc.send_time %}{{ pc.send_time.strftime('%Y-%m-%d') }}寄出{% endif %} @@ -70,7 +72,9 @@
{{ pc.card_number }} - ← {{ pc.sender_name or '-' }} +
+ ← {{ pc.sender_name or '-' }} +
{% if pc.receive_time %}{{ pc.receive_time.strftime('%Y-%m-%d') }}收到{% endif %}