Add tailwind plugin for prettier (#592)
This commit is contained in:
@@ -65,7 +65,7 @@ function LatestScreenshot({ id }: Props) {
|
||||
});
|
||||
|
||||
if (isFetching && !artifact) {
|
||||
return <Skeleton className="w-full h-full" />;
|
||||
return <Skeleton className="h-full w-full" />;
|
||||
}
|
||||
|
||||
if (isError || !artifact) {
|
||||
@@ -75,7 +75,7 @@ function LatestScreenshot({ id }: Props) {
|
||||
return (
|
||||
<img
|
||||
src={getImageURL(artifact)}
|
||||
className="w-full h-full object-contain"
|
||||
className="h-full w-full object-contain"
|
||||
alt="Latest screenshot"
|
||||
/>
|
||||
);
|
||||
|
||||
@@ -69,7 +69,7 @@ function QueuedTasks() {
|
||||
onClick={(event) => handleNavigate(event, task.task_id)}
|
||||
>
|
||||
<TableCell className="w-1/4">{task.task_id}</TableCell>
|
||||
<TableCell className="w-1/4 max-w-64 overflow-hidden whitespace-nowrap overflow-ellipsis">
|
||||
<TableCell className="w-1/4 max-w-64 overflow-hidden overflow-ellipsis whitespace-nowrap">
|
||||
{task.request.url}
|
||||
</TableCell>
|
||||
<TableCell className="w-1/4">
|
||||
|
||||
@@ -52,19 +52,19 @@ function RunningTasks() {
|
||||
return (
|
||||
<Card
|
||||
key={task.task_id}
|
||||
className="hover:bg-muted/50 cursor-pointer"
|
||||
className="cursor-pointer hover:bg-muted/50"
|
||||
onClick={(event) => handleNavigate(event, task.task_id)}
|
||||
>
|
||||
<CardHeader>
|
||||
<CardTitle className="overflow-hidden text-ellipsis whitespace-nowrap">
|
||||
{task.task_id}
|
||||
</CardTitle>
|
||||
<CardDescription className="whitespace-nowrap overflow-hidden text-ellipsis">
|
||||
<CardDescription className="overflow-hidden text-ellipsis whitespace-nowrap">
|
||||
{task.request.url}
|
||||
</CardDescription>
|
||||
</CardHeader>
|
||||
<CardContent className="flex items-center justify-center">
|
||||
<div className="w-40 h-40">
|
||||
<div className="h-40 w-40">
|
||||
<LatestScreenshot id={task.task_id} />
|
||||
</div>
|
||||
</CardContent>
|
||||
|
||||
Reference in New Issue
Block a user