mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
fix: autoHeightTextarea dimensions in Firefox (#4891)
This commit is contained in:
parent
5f104bab57
commit
3520d35f38
|
@ -38,7 +38,7 @@ const AutoHeightTextarea = forwardRef<HTMLTextAreaElement, AutoHeightTextareaPro
|
|||
<textarea
|
||||
ref={ref}
|
||||
placeholder={placeholder}
|
||||
className={cn(className, 'disabled:bg-transparent absolute inset-0 outline-none border-none appearance-none resize-none')}
|
||||
className={cn(className, 'disabled:bg-transparent absolute inset-0 outline-none border-none appearance-none resize-none w-full h-full')}
|
||||
value={value}
|
||||
disabled={disabled}
|
||||
{...rest}
|
||||
|
|
Loading…
Reference in New Issue
Block a user