From 6d6f4c4efb1df1bb42c785f894683087f38ee2bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Thu, 14 May 2026 12:46:59 +0200 Subject: [PATCH] =?UTF-8?q?fix(admin):=20restore=20Standort=20column=20on?= =?UTF-8?q?=20Login-=C3=9Cbersicht?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Standort column existed but rendered right-aligned next to a right-aligned IP and timestamp, which pushed it into the gutter on wide audit tables and let admins overlook it entirely. Left-align the IP and Location cells (timestamp keeps the right edge as the sort anchor) and prefix the Standort header with a MapPin glyph so the column is a first-class entry instead of a forgotten trailer. --- .../admin/login-overview-section.tsx | 23 +++++++++++++++---- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/src/components/admin/login-overview-section.tsx b/src/components/admin/login-overview-section.tsx index 3200775b6..1a463bc96 100644 --- a/src/components/admin/login-overview-section.tsx +++ b/src/components/admin/login-overview-section.tsx @@ -7,6 +7,7 @@ import { ChevronDown, Download, Loader2, + MapPin, ScrollText, XCircle, } from "lucide-react"; @@ -367,11 +368,23 @@ export function LoginOverviewSection() { {t("admin.action")} - + {t("admin.ip")} - - {t("admin.location")} + {/* + v1.4.25 W8b — Standort column. Previously rendered + `text-right`, which on wide audit tables let the + `Berlin, DE` label drift to the table edge and + blend into the timestamp gutter. Left-aligning it + (and dropping the `text-right` from IP for + consistency) makes Standort a first-class column + that admins actually notice. + */} + + + {t("admin.timestamp")} @@ -403,10 +416,10 @@ export function LoginOverviewSection() { > {AUTH_ACTION_LABELS[entry.action] ?? entry.action} - + {entry.ipAddress ?? "—"} - + {entry.location ?? "—"}