mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2025-07-27 20:22:33 +08:00
[ui][text input] fix input add on disappearing when width is too small
This commit is contained in:
@ -178,7 +178,7 @@ function TextInput(
|
||||
aria-describedby={hasError ? errorId : undefined}
|
||||
aria-invalid={hasError ? true : undefined}
|
||||
className={clsx(
|
||||
'flex-1 border-none text-sm focus:outline-none focus:ring-0',
|
||||
'w-0 flex-1 border-none text-sm focus:outline-none focus:ring-0',
|
||||
inputClass,
|
||||
disabled && 'bg-transparent',
|
||||
)}
|
||||
|
Reference in New Issue
Block a user