From 27b5e02acc22cbf2fe27630f1229835166383859 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira <62335616+lucaseduoli@users.noreply.github.com> Date: Wed, 26 Mar 2025 13:24:22 -0300 Subject: [PATCH] fix: made plus button on file component not occupy full width (#7278) Fixed w-full on input file component --- .../components/inputFileComponent/index.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/frontend/src/components/core/parameterRenderComponent/components/inputFileComponent/index.tsx b/src/frontend/src/components/core/parameterRenderComponent/components/inputFileComponent/index.tsx index ee9a9363a..689e43641 100644 --- a/src/frontend/src/components/core/parameterRenderComponent/components/inputFileComponent/index.tsx +++ b/src/frontend/src/components/core/parameterRenderComponent/components/inputFileComponent/index.tsx @@ -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" >