From 57566ed364c0973fbb453846166e982ce8a6f257 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 28 Dec 2025 16:17:58 +0000 Subject: [PATCH] fix: remove hardcoded text-sm from media placeholder in Link.tsx The MediaPlaceholder component in Link.tsx had text-sm hardcoded, causing it to appear larger than surrounding text in compact contexts. Now all placeholder components (Link, Gallery, Mention) consistently inherit font size from their parent. --- src/components/nostr/RichText/Link.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/nostr/RichText/Link.tsx b/src/components/nostr/RichText/Link.tsx index 3000872..d37830f 100644 --- a/src/components/nostr/RichText/Link.tsx +++ b/src/components/nostr/RichText/Link.tsx @@ -10,7 +10,7 @@ import { PlainLink } from "../LinkPreview"; import { useRichTextOptions } from "../RichText"; function MediaPlaceholder({ type }: { type: "image" | "video" | "audio" }) { - return [{type}]; + return [{type}]; } interface LinkNodeProps {