fix: resolved border flicker on issue title (#4727)

This commit is contained in:
Anmol Singh Bhatia 2024-06-07 16:09:56 +05:30 committed by GitHub
parent dee57326a5
commit a23c528396
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -108,7 +108,7 @@ export const IssueTitleInput: FC<IssueTitleInputProps> = observer((props) => {
className={cn( 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", "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 className
)} )}