From 29c33250369bd7bcaac4d60a890ebec8f7683f37 Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Tue, 20 Aug 2024 18:06:17 -0300 Subject: [PATCH] fix: move css class for improve of the UI/UX (#3457) * move css class for improve of the UI/UX * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> --- .../CustomNodes/GenericNode/components/NodeStatus/index.tsx | 6 +----- src/frontend/src/CustomNodes/GenericNode/index.tsx | 1 + 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/frontend/src/CustomNodes/GenericNode/components/NodeStatus/index.tsx b/src/frontend/src/CustomNodes/GenericNode/components/NodeStatus/index.tsx index 2ca06afcd..cdb33c7a4 100644 --- a/src/frontend/src/CustomNodes/GenericNode/components/NodeStatus/index.tsx +++ b/src/frontend/src/CustomNodes/GenericNode/components/NodeStatus/index.tsx @@ -84,11 +84,7 @@ export default function NodeStatus({ ); const baseBorderClass = getBaseBorderClass(selected); - const names = classNames( - baseBorderClass, - "generic-node-div group/node", - specificClassFromBuildStatus, - ); + const names = classNames(baseBorderClass, specificClassFromBuildStatus); return names; }; diff --git a/src/frontend/src/CustomNodes/GenericNode/index.tsx b/src/frontend/src/CustomNodes/GenericNode/index.tsx index 25dc6c91f..b23abd55f 100644 --- a/src/frontend/src/CustomNodes/GenericNode/index.tsx +++ b/src/frontend/src/CustomNodes/GenericNode/index.tsx @@ -291,6 +291,7 @@ export default function GenericNode({ className={cn( borderColor, showNode ? "w-96 rounded-lg" : "w-26 h-26 rounded-full", + "generic-node-div group/node", )} > {data.node?.beta && showNode && (