fix: made plus button on file component not occupy full width (#7278)
Fixed w-full on input file component
This commit is contained in:
parent
9a649da269
commit
27b5e02acc
1 changed files with 4 additions and 3 deletions
|
|
@ -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"
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue