diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b40d45..96ae7f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,9 @@ CalVer image tags (`stable-YYYY.MM.N`, `dev-YYYY.MM.N`) are produced for every C ## [Unreleased] +### Fixed +- **Admin / Tables**: long table descriptions no longer push the row's Edit / Manage access / Delete buttons off-screen. The Description column is now clamped to 2 lines with the full text available on hover and in the Edit modal. + ## [0.38.0] — 2026-05-06 ### Added diff --git a/app/web/templates/admin_tables.html b/app/web/templates/admin_tables.html index 082c635..46e2d53 100644 --- a/app/web/templates/admin_tables.html +++ b/app/web/templates/admin_tables.html @@ -473,6 +473,18 @@ .registry-table { width: 100%; border-collapse: collapse; + table-layout: fixed; + } + + .registry-table .col-description { + max-width: 0; /* lets line-clamp / overflow take effect inside fixed layout */ + overflow: hidden; + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow-wrap: anywhere; + line-height: 1.4; + color: var(--text-secondary); } .registry-table th { @@ -512,8 +524,10 @@ } .registry-table .col-actions { - width: 80px; - text-align: right; + width: 120px; + min-width: 120px; + white-space: nowrap; + vertical-align: top; } /* ── Modal overlay ── */ @@ -2606,8 +2620,8 @@ html += '