Skip to content

Open-source social media scheduler built for AI agents and the teams behind them. Create, schedule and publish posts to every network through MCP or the REST API, or write them yourself in a composer your team will love.

Show only the alt text on the thumbnail, without the icon

Paulo Castellanoe61d12ea94a9
diff --git a/resources/js/components/posts/editor/PostEditorComposer.vue b/resources/js/components/posts/editor/PostEditorComposer.vue
index 8c21232fd..4c2f87abe 100644
--- a/resources/js/components/posts/editor/PostEditorComposer.vue
+++ b/resources/js/components/posts/editor/PostEditorComposer.vue
@@ -292,11 +292,10 @@ const onAltTextSave = (value: string): void => {
</span>
<span
v-if="isImage(item) && item.meta?.alt_text"
- class="inline-flex max-w-full items-center gap-0.5 rounded-md bg-black/65 px-1.5 py-0.5 backdrop-blur-sm"
+ class="inline-block max-w-full truncate rounded-md bg-black/65 px-1.5 py-0.5 backdrop-blur-sm"
data-testid="alt-text-badge"
>
- <IconAlt class="size-2.5 shrink-0" />
- <span class="truncate">{{ item.meta.alt_text }}</span>
+ {{ item.meta.alt_text }}
</span>
</div>