fix: made plus button on file component not occupy full width (#7278)

Fixed w-full on input file component
This commit is contained in:
Lucas Oliveira 2025-03-26 13:24:22 -03:00 committed by GitHub
commit 27b5e02acc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -254,9 +254,10 @@ export default function InputFileComponent({
}
size={selectedFiles.length !== 0 ? "iconMd" : "default"}
className={cn(
selectedFiles.length !== 0 &&
"hit-area-icon absolute -top-8 right-0",
"w-full font-semibold",
selectedFiles.length !== 0
? "hit-area-icon absolute -top-8 right-0"
: "w-full",
"font-semibold",
)}
data-testid="button_open_file_management"
>