Skip to content

Commit

Permalink
fix: move css class for improve of the UI/UX (#3457)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
anovazzi1 and autofix-ci[bot] committed Aug 26, 2024
1 parent 4bd0952 commit 8cc8dbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down
1 change: 1 addition & 0 deletions src/frontend/src/CustomNodes/GenericNode/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 && (
Expand Down

0 comments on commit 8cc8dbe

Please sign in to comment.