diff --git a/web/core/components/issues/title-input.tsx b/web/core/components/issues/title-input.tsx index 295ea50f63..a8edb792d7 100644 --- a/web/core/components/issues/title-input.tsx +++ b/web/core/components/issues/title-input.tsx @@ -110,7 +110,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 && title.length === 0, + "ring-1 ring-red-400 mx-2.5": title?.length === 0, }, className )} @@ -134,7 +134,7 @@ export const IssueTitleInput: FC = observer((props) => { /255 - {title.length && title.length === 0 && Title is required} + {title?.length === 0 && Title is required} ); });