style: add transition

This commit is contained in:
Fred
2024-04-30 19:02:18 +08:00
parent ecf6cc27d6
commit 15d6ed252f
3 changed files with 3 additions and 3 deletions

View File

@@ -57,7 +57,7 @@ export default function Input(props: CommonInputProps & InputProps) {
return (
<div
className={` group/input w-[100%] rounded-chat-input bg-input flex gap-3 items-center px-3 py-2 ${className} hover:bg-select-hover ${inputClassName}`}
className={` group/input w-[100%] rounded-chat-input bg-input transition-colors duration-300 ease-in-out flex gap-3 items-center px-3 py-2 ${className} hover:bg-select-hover ${inputClassName}`}
>
<input
{...rest}