From c749ebc29790df493aa66164654879668eeadfbd Mon Sep 17 00:00:00 2001 From: Cristhian Zanforlin Lousa Date: Fri, 7 Jul 2023 19:30:31 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(inputComponent):=20fix=20cla?= =?UTF-8?q?ssNames=20in=20InputComponent=20to=20correctly=20apply=20styles?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/src/components/inputComponent/index.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/frontend/src/components/inputComponent/index.tsx b/src/frontend/src/components/inputComponent/index.tsx index 4d6045caf..8fab85c74 100644 --- a/src/frontend/src/components/inputComponent/index.tsx +++ b/src/frontend/src/components/inputComponent/index.tsx @@ -39,11 +39,10 @@ export default function InputComponent({ if (disableCopyPaste) setDisableCopyPaste(false); }} className={classNames( - " pr-9 ", disabled ? " input-disable " : "", - password && !pwdVisible && myValue !== "" ? "password" : "", + password && !pwdVisible && myValue !== "" ? " password text-clip " : "", editNode ? " input-edit-node " : " input-primary ", - password && editNode ? "pr-8" : "pr-3" + password && editNode ? "pr-8" : "pr-10" )} placeholder={password && editNode ? "Key" : "Type something..."} onChange={(e) => {