Skip to content

Commit a71843a

Browse files
committed
fix: desbordamiento infraestructura dashboard
1 parent 05cc93e commit a71843a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎web/src/pages/Overview.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,15 +246,15 @@ function InfraHealth({ onOpen }: { onOpen: () => void }) {
246246
</div>
247247

248248
{/* Tarjeta por proyecto */}
249-
<div className="grid gap-3 sm:grid-cols-2">
249+
<div className="grid grid-cols-1 gap-3 sm:grid-cols-2">
250250
{projects.map((p) => {
251251
const worst = worstOf(p.services.map((s) => s.status));
252252
const issues = p.services.filter((s) => s.status === 'down' || s.status === 'degraded' || s.status === 'paused').length;
253253
const dep = latestDeploy(p.services);
254254
const req = p.services.reduce((a, s) => a + (s.metrics?.requests ?? 0), 0);
255255
const byProv = INFRA_PROVIDERS.map((pr) => ({ pr, n: p.services.filter((s) => s.provider === pr).length })).filter((x) => x.n);
256256
return (
257-
<button key={p.projectId} onClick={onOpen} className="flex flex-col gap-2 rounded-xl border p-3 text-left transition-colors hover:bg-accent/50">
257+
<button key={p.projectId} onClick={onOpen} className="flex min-w-0 flex-col gap-2 rounded-xl border p-3 text-left transition-colors hover:bg-accent/50">
258258
<div className="flex items-center gap-2">
259259
<span className={cn('size-2.5 shrink-0 rounded-full', INFRA_STATUS[worst].dot)} />
260260
<span className="min-w-0 flex-1 truncate text-sm font-semibold">{p.name}</span>

0 commit comments

Comments
 (0)