支持加密图片与视频的本机预览

This commit is contained in:
xhgit committed 2026-11-13 23:41:56 +08:00
1 parent 87676ae983
commit 6b728a0996
10 files changed
+94 -7

No files matched your search

+2
View File
@@ -84,6 +84,8 @@ input { width: 100%; color: var(--text); background: var(--base); border: 1px so
.chat-lines li.own { align-self: end; background: var(--green-soft); }
.chat-lines small { display: block; text-align: end; }
.chat-lines audio { display: block; width: min(260px, 100%); }
.media-preview { display: grid; gap: 5px; justify-items: start; margin-bottom: 5px; }
.media-preview img, .media-preview video { display: block; max-width: min(300px, 100%); max-height: 220px; border-radius: 5px; }
.chat-compose { display: grid; gap: 8px; }
.chat-compose button { justify-self: end; }
.chat-filters, .chat-quote, .message-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: end; }