fix: add full width on Select files button (#7219)

🔧 (index.tsx): Add "w-full" class to the div element with data-testid "input-file-component" to ensure full width display
♻️ (index.tsx): Refactor the Button component class to include "w-full" for consistent styling across the application
This commit is contained in:
Cristhian Zanforlin Lousa 2025-03-21 19:49:27 -03:00 committed by GitHub
commit fbe5666c81
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -246,7 +246,7 @@ export default function InputFileComponent({
isList={isList}
>
{(selectedFiles.length === 0 || isList) && (
<div data-testid="input-file-component">
<div data-testid="input-file-component" className="w-full">
<Button
disabled={isDisabled}
variant={
@ -256,7 +256,7 @@ export default function InputFileComponent({
className={cn(
selectedFiles.length !== 0 &&
"hit-area-icon absolute -top-8 right-0",
"font-semibold",
"w-full font-semibold",
)}
data-testid="button_open_file_management"
>