5 Commits

Author SHA1 Message Date
a028dc8242 bump version 2026-03-23 22:37:15 +01:00
53b35c13b4 fix: server card in cols 2026-03-23 22:37:10 +01:00
8996cbbfa0 fix: server card layout 2026-03-23 22:36:33 +01:00
9999f843e5 bump version 2026-03-23 22:22:07 +01:00
0153085180 fix: build errors 2026-03-23 22:21:52 +01:00
4 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "acc-server-manager-web",
"version": "0.24.0",
"version": "0.24.2",
"private": true,
"scripts": {
"dev": "next dev --turbopack",

View File

@@ -1,7 +1,7 @@
'use client';
import { useState, useEffect, useCallback } from 'react';
import { getActivityLogAction, getGlobalActivityLogAction } from '@/lib/actions/activityLog';
import { getActivityLogAction } from '@/lib/actions/activityLog';
import type { ActivityLog, ActivityLogFilter, ActionType } from '@/lib/schemas/activityLog';
import { ACTION_TYPE_LABELS, actionTypeSchema } from '@/lib/schemas/activityLog';
import { Button } from '@/components/ui/Button';

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 flex-1 flex-col p-4">
<div className="flex items-start justify-between">
<span className="text-sm font-semibold text-primary">{server.name}</span>
<StatusDot status={server.status} />
@@ -77,7 +77,7 @@ export function ServerCard({ server }: ServerCardProps) {
</div>
</div>
<div className="mt-3 flex items-center justify-between gap-2">
<div className="mt-auto pt-3 flex items-center justify-between gap-2">
<Badge variant={statusBadgeVariant(server.status)}>
{serviceStatusToString(server.status)}
</Badge>

View File

@@ -60,7 +60,7 @@ export function ServerListWithActions({ servers, user }: ServerListWithActionsPr
{/* Card grid — desktop only */}
<div
className="hidden gap-3 md:grid"
style={{ gridTemplateColumns: 'repeat(auto-fill, minmax(360px, 1fr))' }}
style={{ gridTemplateColumns: 'repeat(auto-fill, minmax(420px, 1fr))' }}
>
{servers.map((server) => (
<ServerCard key={server.id} server={server} />