@@ -180,7 +180,9 @@ export function Sender({
180
180
data-slot = "sender"
181
181
className = { twMerge (
182
182
clsx (
183
- "flex flex-col items-center border border-gray-200 dark:border-gray-700 rounded-2xl shadow-sm transition-all duration-300 hover:shadow-md focus-within:ring-2 focus-within:ring-blue-500 focus-within:border-blue-500" ,
183
+ "px-1 flex flex-col items-center border rounded-2xl" ,
184
+ "border-gray-200 dark:border-gray-700 shadow-sm transition-all duration-300 hover:shadow-md" ,
185
+ "focus-within:ring-2 focus-within:ring-blue-500 focus-within:border-blue-500" ,
184
186
className ,
185
187
) ,
186
188
) }
@@ -192,7 +194,16 @@ export function Sender({
192
194
onChange = { handleChange }
193
195
onKeyDown = { handleKeyDown }
194
196
placeholder = { placeholder }
195
- className = "w-full pt-4 px-4 border-0 rounded-2xl !resize-none focus:ring-0 focus:outline-none text-gray-700 placeholder-gray-400"
197
+ className = { clsx (
198
+ "w-full pt-4 px-4 border-0 rounded-2xl !resize-none bg-transparent" ,
199
+ "focus:ring-0 focus:outline-none text-gray-700 placeholder-gray-400" ,
200
+ "overflow-y-auto max-h-32" ,
201
+ "[scrollbar-gutter:stable] [&::-webkit-scrollbar]:w-1.5 [&::-webkit-scrollbar-thumb]:rounded-full" ,
202
+ "[&::-webkit-scrollbar-thumb]:cursor-auto" ,
203
+ "[&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-thumb]:bg-gray-600" ,
204
+ "[&::-webkit-scrollbar-thumb:hover]:bg-gray-400 dark:[&::-webkit-scrollbar-thumb:hover]:bg-gray-500" ,
205
+ "[&::-webkit-scrollbar-track]:mt-3" ,
206
+ ) }
196
207
rows = { 2 }
197
208
/>
198
209
< div className = "flex items-center w-full px-4 py-2 gap-4" >
0 commit comments