l2: show which column sorts and in which direction

Clicking a heading sorted the table but nothing said so afterwards - the
only feedback was the rows moving, which is no help when the sort key is a
column you are not looking at.

Give every sortable heading a permanent marker: a neutral double arrow when
it is not the sort key, up or down when it is. The marker sits in its own
span so the i18n pass, which replaces the heading text, does not wipe it.
This commit is contained in:
d00f
2026-08-05 21:35:54 +02:00
parent 5e901fb5c2
commit 4389cfcd8b
3 changed files with 9 additions and 4 deletions
+1
View File
@@ -168,4 +168,5 @@ option { direction: rtl; font-family: sans-serif}
/* L2 table: sortable headers and per-column filters */
.l2sort{cursor:pointer;user-select:none}
.l2sort:hover{text-decoration:underline}
.l2arrow{opacity:0.55;font-size:0.85em}
.l2filter{width:100%;box-sizing:border-box;font-weight:normal;font-size:0.9em}