From 3cbae6255bc437ca2d87518c5db2c15fe50e8162 Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Thu, 4 Jun 2026 09:39:25 +0200 Subject: [PATCH] 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) --- src/porchlight/static/style.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/porchlight/static/style.css b/src/porchlight/static/style.css index 17319ff..15dc79e 100644 --- a/src/porchlight/static/style.css +++ b/src/porchlight/static/style.css @@ -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); }