소스 검색

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}