From 9de4db8b09d7fd06badfa9f62f67dfe1e4ede365 Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Tue, 20 Aug 2024 17:44:48 -0300 Subject: [PATCH 1/2] move css class for improve of the UI/UX --- .../src/CustomNodes/GenericNode/components/NodeStatus/index.tsx | 1 - src/frontend/src/CustomNodes/GenericNode/index.tsx | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/CustomNodes/GenericNode/components/NodeStatus/index.tsx b/src/frontend/src/CustomNodes/GenericNode/components/NodeStatus/index.tsx index 2ca06afcdbe..1e0ba3cbd04 100644 --- a/src/frontend/src/CustomNodes/GenericNode/components/NodeStatus/index.tsx +++ b/src/frontend/src/CustomNodes/GenericNode/components/NodeStatus/index.tsx @@ -86,7 +86,6 @@ export default function NodeStatus({ const baseBorderClass = getBaseBorderClass(selected); const names = classNames( baseBorderClass, - "generic-node-div group/node", specificClassFromBuildStatus, ); return names; diff --git a/src/frontend/src/CustomNodes/GenericNode/index.tsx b/src/frontend/src/CustomNodes/GenericNode/index.tsx index 25dc6c91f44..b23abd55fd8 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 && ( From f6700b2542d6c155ae5676a7ff67a780ed946d36 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Tue, 20 Aug 2024 20:47:23 +0000 Subject: [PATCH 2/2] [autofix.ci] apply automated fixes --- .../CustomNodes/GenericNode/components/NodeStatus/index.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/frontend/src/CustomNodes/GenericNode/components/NodeStatus/index.tsx b/src/frontend/src/CustomNodes/GenericNode/components/NodeStatus/index.tsx index 1e0ba3cbd04..cdb33c7a4f2 100644 --- a/src/frontend/src/CustomNodes/GenericNode/components/NodeStatus/index.tsx +++ b/src/frontend/src/CustomNodes/GenericNode/components/NodeStatus/index.tsx @@ -84,10 +84,7 @@ export default function NodeStatus({ ); const baseBorderClass = getBaseBorderClass(selected); - const names = classNames( - baseBorderClass, - specificClassFromBuildStatus, - ); + const names = classNames(baseBorderClass, specificClassFromBuildStatus); return names; };