fix: server card layout

This commit is contained in:
2026-03-23 22:36:33 +01:00
parent 9999f843e5
commit 8996cbbfa0
2 changed files with 3 additions and 3 deletions

View File

@@ -55,8 +55,8 @@ export function ServerCard({ server }: ServerCardProps) {
const isRunning = server.status === ServiceStatus.Running;
return (
<div className="overflow-hidden rounded-lg border border-border bg-canvas transition-colors hover:border-blue/40">
<Link href={`/dashboard/server/${server.id}`} className="block p-4">
<div className="flex flex-col overflow-hidden rounded-lg border border-border bg-canvas transition-colors hover:border-blue/40">
<Link href={`/dashboard/server/${server.id}`} className="flex-1 p-4">
<div className="flex items-start justify-between">
<span className="text-sm font-semibold text-primary">{server.name}</span>
<StatusDot status={server.status} />