From a23c528396c1f74f7fe9e18b8b4e99fc7d00a566 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Fri, 7 Jun 2024 16:09:56 +0530 Subject: [PATCH] fix: resolved border flicker on issue title (#4727) --- web/components/issues/title-input.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/issues/title-input.tsx b/web/components/issues/title-input.tsx index 6499f5330..f12008ab6 100644 --- a/web/components/issues/title-input.tsx +++ b/web/components/issues/title-input.tsx @@ -108,7 +108,7 @@ export const IssueTitleInput: FC = observer((props) => { className={cn( "block w-full resize-none overflow-hidden rounded border-none bg-transparent px-3 py-0 text-2xl font-medium outline-none ring-0", { - "ring-1 ring-red-400 mx-3": title.length === 0, + "ring-1 ring-red-400 mx-3": title.length && title.length === 0, }, className )}