diff --git a/assets/css/style.css b/assets/css/style.css index 2324b90..f602ebb 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -381,8 +381,9 @@ input:focus, select:focus, textarea:focus { flex-shrink: 0; } -.stat-card h3 { margin: 0 0 0.15rem; color: var(--text); font-size: 1rem; } -.stat-card p { margin: 0; } +.stat-card > div:last-child { min-width: 0; } +.stat-card h3 { margin: 0 0 0.15rem; color: var(--text); font-size: 1rem; overflow-wrap: break-word; } +.stat-card p { margin: 0; overflow-wrap: break-word; } .raid-header { display: flex; diff --git a/dashboard.php b/dashboard.php index 73b7201..f40cdfc 100644 --- a/dashboard.php +++ b/dashboard.php @@ -16,7 +16,6 @@ $roleStmt->execute([$user['id']]); $roleNames = array_column($roleStmt->fetchAll(), 'name'); $upcomingRaids = []; -$myActiveSignups = 0; $raidsError = null; if ($canViewRaids) { try { @@ -33,9 +32,6 @@ if ($canViewRaids) { break; } } - if ($raid['_my_signup']) { - $myActiveSignups++; - } } unset($raid); } catch (Throwable $e) { @@ -72,14 +68,7 @@ include __DIR__ . '/includes/header.php';
Aktive Raids
-Meine Anmeldungen
+Anstehende Raids