Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: inconsistent service card height #1011

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions apps/dokploy/pages/dashboard/project/[projectId].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ const Project = (
</header>
</div>

<div className="flex w-full gap-8 ">
<div className="flex w-full gap-8">
{emptyServices ? (
<div className="flex h-[70vh] w-full flex-col items-center justify-center">
<FolderInput className="size-10 md:size-28 text-muted" />
Expand All @@ -255,7 +255,7 @@ const Project = (
`/dashboard/project/${projectId}/services/${service.type}/${service.id}`,
);
}}
className="group relative cursor-pointer bg-transparent transition-colors hover:bg-card h-fit"
className="flex flex-col group relative cursor-pointer bg-transparent transition-colors hover:bg-card"
>
<div className="absolute -right-1 -top-2">
<StatusTooltip status={service.status} />
Expand Down Expand Up @@ -301,7 +301,7 @@ const Project = (
</div>
</CardTitle>
</CardHeader>
<CardFooter className="">
<CardFooter className="mt-auto">
<div className="space-y-1 text-sm">
<DateTooltip date={service.createdAt}>
Created
Expand Down
Loading