mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2025-07-27 04:03:26 +08:00
[ui][text input] set entire input bg color
This commit is contained in:
@ -143,7 +143,7 @@ function TextInput(
|
||||
<div
|
||||
className={clsx(
|
||||
'flex w-full overflow-hidden rounded-md border text-sm focus-within:ring-1',
|
||||
disabled && 'pointer-events-none select-none bg-slate-50',
|
||||
disabled ? 'pointer-events-none select-none bg-slate-50' : 'bg-white',
|
||||
containerClass,
|
||||
)}>
|
||||
{(() => {
|
||||
|
Reference in New Issue
Block a user