Преглед на файлове

fix: autoHeightTextarea dimensions in Firefox (#4891)

Nam Vu преди 11 месеца
родител
ревизия
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}