瀏覽代碼

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}