Make title column greedy when other columns are hidden
Removes inline max-width/nowrap from title td, moves to CSS with width:99% so the title column absorbs all available space freed by hiding other columns. max-width:0 trick ensures overflow ellipsis still works correctly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -8,6 +8,16 @@
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
/* ── Title column: greedy — absorbs freed space when cols hidden ─ */
|
||||
#tickets-table th[data-col="title"],
|
||||
#tickets-table td.col-title {
|
||||
width: 99%;
|
||||
max-width: 0; /* lets overflow:hidden + ellipsis work */
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* ── Column toggle panel ─────────────────────────────────────── */
|
||||
.col-toggle-panel {
|
||||
position: absolute;
|
||||
|
||||
Reference in New Issue
Block a user