From f897e2534b751405b8466d32554a60bdcddae9d0 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Mon, 15 Jun 2026 00:42:14 -0400 Subject: [PATCH] feat(posts): full-width body for image-less posts (drop dead 'no images' box) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Text-only Patreon posts (WIP/announcement/poll — the bulk of a creator's feed) rendered a big empty 'No images attached to this post' placeholder taking half the card. Render the media column only when the post HAS images; image-less posts let the title + body span the full width. Removes the now-dead PostEmptyThumbs. Co-Authored-By: Claude Opus 4.8 --- frontend/src/components/posts/PostCard.vue | 55 +++++++++---------- .../src/components/posts/PostEmptyThumbs.vue | 35 ------------ 2 files changed, 27 insertions(+), 63 deletions(-) delete mode 100644 frontend/src/components/posts/PostEmptyThumbs.vue diff --git a/frontend/src/components/posts/PostCard.vue b/frontend/src/components/posts/PostCard.vue index 29f15f9..9b2388d 100644 --- a/frontend/src/components/posts/PostCard.vue +++ b/frontend/src/components/posts/PostCard.vue @@ -25,36 +25,36 @@
-
- - + +
@@ -128,7 +128,6 @@ import { RouterLink } from 'vue-router' import { useModalStore } from '../../stores/modal.js' import { usePostsStore } from '../../stores/posts.js' import { toPlainText } from '../../utils/htmlSanitize.js' -import PostEmptyThumbs from './PostEmptyThumbs.vue' import PostSeriesMenu from './PostSeriesMenu.vue' const props = defineProps({ diff --git a/frontend/src/components/posts/PostEmptyThumbs.vue b/frontend/src/components/posts/PostEmptyThumbs.vue deleted file mode 100644 index 9927424..0000000 --- a/frontend/src/components/posts/PostEmptyThumbs.vue +++ /dev/null @@ -1,35 +0,0 @@ - - - - -