Add tailwind plugin for prettier (#592)

This commit is contained in:
Salih Altun
2024-07-11 21:29:47 +03:00
committed by GitHub
parent 4e49d84f1e
commit 102d73b60e
39 changed files with 206 additions and 127 deletions

View File

@@ -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>

View File

@@ -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}

View File

@@ -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) {

View File

@@ -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>