mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2025-07-27 20:22:33 +08:00
[ui][text input] set entire input bg color
This commit is contained in:
@ -143,7 +143,7 @@ function TextInput(
|
|||||||
<div
|
<div
|
||||||
className={clsx(
|
className={clsx(
|
||||||
'flex w-full overflow-hidden rounded-md border text-sm focus-within:ring-1',
|
'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,
|
containerClass,
|
||||||
)}>
|
)}>
|
||||||
{(() => {
|
{(() => {
|
||||||
|
Reference in New Issue
Block a user