Skip to content

Commit a8d169e

Browse files
committed
fix: replace single-line input with textarea for workflow variable fields
1 parent ff99ed4 commit a8d169e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

components/WorkflowRunnerModal.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,12 +213,12 @@ const WorkflowRunnerModal: React.FC<WorkflowRunnerModalProps> = ({
213213
<label className="mb-1.5 block text-sm font-medium text-zinc-300">
214214
{name}
215215
</label>
216-
<input
217-
type="text"
216+
<textarea
218217
value={currentValues[name] || ''}
219218
onChange={(e) => updateValue(name, e.target.value)}
220219
placeholder={`Enter ${name}`}
221-
className="w-full rounded-lg border border-black-300 bg-black-200 px-4 py-3 text-sm text-zinc-100 outline-none transition focus:border-accent focus:ring-2 focus:ring-accent/30"
220+
rows={4}
221+
className="w-full rounded-lg border border-black-300 bg-black-200 px-4 py-3 text-sm text-zinc-100 outline-none transition focus:border-accent focus:ring-2 focus:ring-accent/30 resize-y"
222222
/>
223223
</div>
224224
))}
@@ -306,4 +306,4 @@ const WorkflowRunnerModal: React.FC<WorkflowRunnerModalProps> = ({
306306
);
307307
};
308308

309-
export default WorkflowRunnerModal;
309+
export default WorkflowRunnerModal;

0 commit comments

Comments
 (0)