From fa69e88427988fef71dc9e0ceda1cb11087a64bb Mon Sep 17 00:00:00 2001 From: Dikshant Chaturvedi Date: Thu, 18 Jun 2026 21:25:31 +0530 Subject: [PATCH] fix: add min-width to LinkInput fallback for usable link editing The LinkInput component is the fallback used when cardConfig.searchLinks is unavailable (e.g., feature image caption editor). Without a min-width, it shrinks to content size and becomes unusably small. Adding min-w-[240px] ensures the link input is always wide enough to comfortably view and edit URLs, even in contexts where the full LinkInputWithSearch is not available. refs TryGhost/Ghost#22067 --- packages/koenig-lexical/src/components/ui/LinkInput.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/koenig-lexical/src/components/ui/LinkInput.jsx b/packages/koenig-lexical/src/components/ui/LinkInput.jsx index cc49f6b00f..cef5acf80a 100644 --- a/packages/koenig-lexical/src/components/ui/LinkInput.jsx +++ b/packages/koenig-lexical/src/components/ui/LinkInput.jsx @@ -49,7 +49,7 @@ export function LinkInput({href, update, cancel}) { }, [onEscape]); return ( -
+