fix: prevent admin user table from overflowing its card

The 6-column user table could not shrink below its content width at the
40rem main column, so the Created column was clipped past the card border.

Tighten cell padding to fit all columns, and add overflow-x: auto on the
table container as a safety net for longer content.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Johan Lundberg 2026-06-04 09:39:25 +02:00
parent 2fc2bdcabb
commit 3cbae6255b
No known key found for this signature in database
GPG key ID: A6C152738D03C7D1

View file

@ -205,6 +205,10 @@ main {
line-height: 1;
}
#user-table-container {
overflow-x: auto;
}
.admin-table {
width: 100%;
border-collapse: collapse;
@ -214,7 +218,7 @@ main {
.admin-table th,
.admin-table td {
text-align: left;
padding: var(--sp-2) var(--sp-3);
padding: var(--sp-2);
border-bottom: 1px solid var(--border);
}