isValidConnection(data,connection)}
- className="-mr-1 bg-transparent border-solid border-l-8 border-y-transparent border-y-8 border-r-0 rounded-none"
- style={{ borderLeftColor: nodeColors[types[data.type]] }}
+ className={"-mr-0.5 w-3 h-3 rounded-full border-2 bg-white dark:bg-slate-800"}
+ style={{
+ borderColor: nodeColors[types[data.type]],
+ }}
>
);
diff --git a/space_flow/src/CustomNodes/InputNode/index.tsx b/space_flow/src/CustomNodes/InputNode/index.tsx
index a6aa084bd..21031049f 100644
--- a/space_flow/src/CustomNodes/InputNode/index.tsx
+++ b/space_flow/src/CustomNodes/InputNode/index.tsx
@@ -15,7 +15,7 @@ import TextAreaComponent from "../../components/textAreaComponent";
export default function InputNode({ data }) {
const {types, deleteNode} = useContext(typesContext);
return (
-
+
isValidConnection(data, connection)
}
- className="ml-1 bg-transparent border-solid border-l-8 border-y-transparent border-y-8 border-r-0 rounded-none"
- style={{ borderLeftColor: nodeColors[types[data.type]] }}
+ className={"-ml-0.5 w-3 h-3 rounded-full border-2 bg-white dark:bg-slate-800"}
+ style={{
+ borderColor: nodeColors[types[data.type]],
+ }}
>
-
+
isValidConnection(data, connection)}
- className="-mr-1 bg-transparent border-solid border-l-8 border-y-transparent border-y-8 border-r-0 rounded-none"
- style={{ borderLeftColor: nodeColors[types[data.type]] }}
+ className={"-mr-0.5 w-3 h-3 rounded-full border-2 bg-white dark:bg-slate-800"}
+ style={{
+ borderColor: nodeColors[types[data.type]],
+ }}
>
);