mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-08-29 09:58:58 +00:00
Revert "fix: packets table uses table-layout:fixed with proportional column widths — resizes like Excel when detail pane is dragged"
This reverts commit 881b9a3548.
This commit is contained in:
+3
-14
@@ -214,27 +214,16 @@ a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible
|
||||
text-transform: uppercase; letter-spacing: .3px; color: var(--text-muted);
|
||||
border-bottom: 2px solid var(--border); background: var(--card-bg);
|
||||
position: sticky; top: 0; z-index: 1;
|
||||
overflow: hidden; text-overflow: ellipsis;
|
||||
}
|
||||
.data-table th.sortable { cursor: pointer; }
|
||||
.data-table th.sortable:hover { color: var(--accent); }
|
||||
.data-table td {
|
||||
padding: 3px 6px; border-bottom: 1px solid var(--border);
|
||||
vertical-align: middle; white-space: nowrap;
|
||||
vertical-align: middle; white-space: nowrap; max-width: 180px;
|
||||
overflow: hidden; text-overflow: ellipsis;
|
||||
}
|
||||
/* Proportional column widths — packets table (expand chevron gets minimal space) */
|
||||
#pktTable { table-layout: fixed; }
|
||||
#pktTable th:first-child, #pktTable td:first-child { width: 24px; }
|
||||
#pktTable .col-region { width: 7%; }
|
||||
#pktTable .col-time { width: 11%; }
|
||||
#pktTable .col-hash { width: 10%; }
|
||||
#pktTable .col-size { width: 6%; }
|
||||
#pktTable .col-type { width: 9%; }
|
||||
#pktTable .col-observer { width: 12%; }
|
||||
#pktTable .col-path { width: 14%; }
|
||||
#pktTable .col-rpt { width: 5%; }
|
||||
#pktTable .col-details { width: auto; white-space: normal; word-break: break-word; }
|
||||
/* Details column gets more room since it has the most useful content */
|
||||
.data-table td.col-details { max-width: 400px; white-space: normal; word-break: break-word; }
|
||||
.data-table tbody tr:nth-child(even) { background: var(--row-stripe); }
|
||||
.data-table tbody tr:hover { background: var(--row-hover); cursor: pointer; }
|
||||
.data-table tbody tr.selected { background: var(--selected-bg); }
|
||||
|
||||
Reference in New Issue
Block a user