Add tailwind plugin for prettier (#592)
This commit is contained in:
@@ -141,7 +141,7 @@ function RunWorkflowForm({ workflowParameters, initialValues }: Props) {
|
||||
})}
|
||||
<Button type="submit" disabled={runWorkflowMutation.isPending}>
|
||||
{runWorkflowMutation.isPending && (
|
||||
<ReloadIcon className="mr-2 w-4 h-4 animate-spin" />
|
||||
<ReloadIcon className="mr-2 h-4 w-4 animate-spin" />
|
||||
)}
|
||||
Run workflow
|
||||
</Button>
|
||||
|
||||
@@ -65,7 +65,7 @@ function WorkflowRun() {
|
||||
<header className="flex gap-2">
|
||||
<h1 className="text-lg font-semibold">{workflowRunId}</h1>
|
||||
{workflowRunIsLoading ? (
|
||||
<Skeleton className="w-28 h-8" />
|
||||
<Skeleton className="h-8 w-28" />
|
||||
) : workflowRun ? (
|
||||
<StatusBadge status={workflowRun?.status} />
|
||||
) : null}
|
||||
@@ -105,7 +105,7 @@ function WorkflowRun() {
|
||||
{task.task_id}
|
||||
</TableCell>
|
||||
<TableCell
|
||||
className="w-1/4 cursor-pointer max-w-64 overflow-hidden whitespace-nowrap overflow-ellipsis"
|
||||
className="w-1/4 max-w-64 cursor-pointer overflow-hidden overflow-ellipsis whitespace-nowrap"
|
||||
onClick={(event) => handleNavigate(event, task.task_id)}
|
||||
>
|
||||
{task.request.url}
|
||||
|
||||
@@ -26,7 +26,7 @@ function WorkflowTitle({ workflowPermanentId }: Props) {
|
||||
});
|
||||
|
||||
if (isLoading) {
|
||||
return <Skeleton className="w-full h-6" />;
|
||||
return <Skeleton className="h-6 w-full" />;
|
||||
}
|
||||
|
||||
if (isError || !workflow) {
|
||||
|
||||
@@ -2,9 +2,9 @@ import { Button } from "@/components/ui/button";
|
||||
|
||||
function WorkflowsBetaAlertCard() {
|
||||
return (
|
||||
<div className="shadow rounded-lg bg-slate-900 flex flex-col items-center p-4">
|
||||
<div className="flex flex-col items-center rounded-lg bg-slate-900 p-4 shadow">
|
||||
<header>
|
||||
<h1 className="text-3xl py-4">Workflows (Beta)</h1>
|
||||
<h1 className="py-4 text-3xl">Workflows (Beta)</h1>
|
||||
</header>
|
||||
<div>Workflows through UI are currently under construction.</div>
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user