[ui][text input] fix input add on disappearing when width is too small

pull/421/head
Yangshun Tay 2 years ago
parent 94f232f67c
commit d9af66152c

@ -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',
)}

Loading…
Cancel
Save