Просмотр исходного кода

fix: autoHeightTextarea dimensions in Firefox (#4891)

Nam Vu месяцев назад: 11
Родитель
Сommit
3520d35f38
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      web/app/components/base/auto-height-textarea/common.tsx

+ 1 - 1
web/app/components/base/auto-height-textarea/common.tsx

@@ -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}