Sortable peers table, shorter connection history

This commit is contained in:
Daniel Redetzke
2026-10-04 20:53:56 +03:00
parent 82228faeba
commit 542ee98a85
2 changed files with 67 additions and 11 deletions
+4
View File
@@ -136,6 +136,10 @@ h1 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -0.01em; over
table { width: 100%; border-collapse: collapse; min-width: 720px; }
table.narrow { min-width: 520px; }
th { text-align: left; font-size: 12px; font-weight: 600; color: var(--ink-2); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th .sort { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
th .sort:hover, th .sort.on { color: var(--ink); }
th .sort .arrow { font-size: 11px; opacity: 0.35; }
th .sort:hover .arrow, th .sort.on .arrow { opacity: 1; }
td { padding: 12px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }