In the saved pastes menu (/mine), the delete button column overlapped the ID column at narrower widths (e.g. 1019px, see issue screenshot).
Cause
Each row rendered by mine.js outputs 7 cells (Paste, Language, Size, Created, URL, ID, delete button), but the table's <colgroup> and <thead> only declared 6 columns. Under table-layout: fixed the unassigned 7th cell collapsed into the ID column.
Fix
internal/web/templates/mine.html: add a 7th <col class="col-del"> to the colgroup and an empty <th aria-label="Delete"> header.
internal/web/static/app.css: add .col-del { width: 64px; } sized to the existing .btn-icon delete button.
Verification
go build ./... and go test ./... pass.
Served /mine locally on a spare port and confirmed the template emits 7 declared columns.
## Problem
In the saved pastes menu (/mine), the delete button column overlapped the ID column at narrower widths (e.g. 1019px, see issue screenshot).
## Cause
Each row rendered by `mine.js` outputs 7 cells (Paste, Language, Size, Created, URL, ID, delete button), but the table's `<colgroup>` and `<thead>` only declared 6 columns. Under `table-layout: fixed` the unassigned 7th cell collapsed into the ID column.
## Fix
- `internal/web/templates/mine.html`: add a 7th `<col class="col-del">` to the colgroup and an empty `<th aria-label="Delete">` header.
- `internal/web/static/app.css`: add `.col-del { width: 64px; }` sized to the existing `.btn-icon` delete button.
## Verification
- `go build ./...` and `go test ./...` pass.
- Served `/mine` locally on a spare port and confirmed the template emits 7 declared columns.
Fixes #210
/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.
fen
merged commit a49127eff2 into dev2026-09-10 18:00:42 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
In the saved pastes menu (/mine), the delete button column overlapped the ID column at narrower widths (e.g. 1019px, see issue screenshot).
Cause
Each row rendered by
mine.jsoutputs 7 cells (Paste, Language, Size, Created, URL, ID, delete button), but the table's<colgroup>and<thead>only declared 6 columns. Undertable-layout: fixedthe unassigned 7th cell collapsed into the ID column.Fix
internal/web/templates/mine.html: add a 7th<col class="col-del">to the colgroup and an empty<th aria-label="Delete">header.internal/web/static/app.css: add.col-del { width: 64px; }sized to the existing.btn-icondelete button.Verification
go build ./...andgo test ./...pass./minelocally on a spare port and confirmed the template emits 7 declared columns.Fixes #210