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"} size={selectedFiles.length !== 0 ? "iconMd" : "default"}
className={cn( className={cn(
selectedFiles.length !== 0 && selectedFiles.length !== 0
"hit-area-icon absolute -top-8 right-0", ? "hit-area-icon absolute -top-8 right-0"
"w-full font-semibold", : "w-full",
"font-semibold",
)} )}
data-testid="button_open_file_management" data-testid="button_open_file_management"
> >