-
-
- {stepNumber !== 1 && !finalStep &&
-
- }
-
- {/* Only show selects if editView === true and stepType === 'approval-by' */}
- {showSelects && (
-
-
-
+
+
+
+
+ {/* Vertical Bar connecting steps */}
+ {!finalStep && (
+
)}
+
- {stepNumber === 1 && (
-
-
-
-
- Form Intake
-
-
- Prof. X
-
+ {stepNumber !== 1 && !finalStep
+ ?
+ :
+ }
+
+ {/* Only show selects if editView === true and stepType === 'approval-by' */}
+ {showSelects && (
+
+
+
+ )}
+
+ {stepNumber === 1 && (
+
+
+ {/* h-[40px] probably is not the best way to match the height with the select component, but for now should be ok */}
+
+
+ Form Intake
+
+
+ Prof. X
- )}
+
+ )}
- {editView && stepNumber !== 1 && !finalStep && (
+ {editView && stepNumber !== 1 && !finalStep && (
+
- )}
-
+
+ )}
+
);
};
\ No newline at end of file
diff --git a/src/components/ApprovalWorkflows/WorkflowStepNumber.tsx b/src/components/ApprovalWorkflows/WorkflowStepNumber.tsx
index 93e75ca8..393f19b9 100644
--- a/src/components/ApprovalWorkflows/WorkflowStepNumber.tsx
+++ b/src/components/ApprovalWorkflows/WorkflowStepNumber.tsx
@@ -12,7 +12,7 @@ export default function WorkflowStepNumber({ number, isSelected = false }: Props
return (
{/* Right Select */}
@@ -45,7 +45,7 @@ export default function WorkflowStepSelects({
onChange={onRightChange}
placeholder={rightPlaceholder}
flat
- className="px-2 py-1 rounded-none rounded-r-2xl"
+ className="px-2 rounded-none rounded-r-2xl"
/>