From 8636a23f491ad65e119b32601fdda168be81f587 Mon Sep 17 00:00:00 2001 From: fen Date: Thu, 10 Sep 2026 12:56:10 -0500 Subject: [PATCH] Fix #210: declare missing delete-button column in saved pastes table /mine rows render 7 cells (ID + delete button) but the colgroup and thead only declared 6 columns, so under table-layout:fixed the delete button cell overlapped the ID column at narrower widths. Add a col-del column + empty header th to match the row cells. --- internal/web/static/app.css | 3 +++ internal/web/templates/mine.html | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/internal/web/static/app.css b/internal/web/static/app.css index 48fe3ed..cf4a9c5 100644 --- a/internal/web/static/app.css +++ b/internal/web/static/app.css @@ -832,6 +832,9 @@ button[type="submit"]:focus-visible, .col-a { width: 260px; } .col-b { width: 140px; } .col-c { width: 120px; } .col-d { width: 96px; } .col-d2 { width: 150px; } .col-e { width: 190px; } .col-f { width: 100px; } .col-g { width: 190px; } +/* #210: /mine rows render a delete button cell that had no declared column, + so under table-layout:fixed it overlapped the ID column. */ +.col-del { width: 64px; } .spacer-flex { flex: 1; } .input-num { width: 80px; } .input-num-sm { width: 64px; } diff --git a/internal/web/templates/mine.html b/internal/web/templates/mine.html index 31bfdc4..93d7a80 100644 --- a/internal/web/templates/mine.html +++ b/internal/web/templates/mine.html @@ -8,7 +8,7 @@
- + @@ -16,6 +16,7 @@ +
Paste LanguageCreated URL ID