From bdfd74eaf4ab90a89e62b57edaf20f9ade855ad4 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sun, 24 Mar 2024 17:19:22 +0800 Subject: [PATCH] :sparkles: Better attachment displaying :sparkles: Audio file support --- .../src/components/posts/PostAttachment.vue | 39 ++++++------------- pkg/views/src/components/posts/PostItem.vue | 3 -- .../src/components/publish/parts/Media.vue | 2 +- 3 files changed, 13 insertions(+), 31 deletions(-) diff --git a/pkg/views/src/components/posts/PostAttachment.vue b/pkg/views/src/components/posts/PostAttachment.vue index d229a42..7a266af 100644 --- a/pkg/views/src/components/posts/PostAttachment.vue +++ b/pkg/views/src/components/posts/PostAttachment.vue @@ -3,21 +3,18 @@ Attached {{ props.attachments.length }} attachment(s) - -
- - -
- -
-
{{ focus + 1 }} of {{ props.attachments.length }}
-
- - -
-
+ + + + + +
+ +
+
+