2 Commits
Author SHA1 Message Date
fen 7c7e60375c Merge pull request #217 from fen/fix-209
CI / test (push) Successful in 41s
CI / docker (push) Successful in 37s
Fix #209 r2: arrows immediately right of the column label text
2026-09-10 13:27:49 -05:00
fen 7cffd21df9 Fix #209 r2: arrows immediately right of label text, fixed gap
CI / test (pull_request) Successful in 44s
CI / docker (pull_request) Skipped
Absolute right:8px pinned arrows to the column edge; inline span after
the label with margin-left:6px keeps a consistent gap from the text.
2026-09-10 13:14:28 -05:00
+4 -4
View File
@@ -523,11 +523,11 @@ td .id-link:hover { color: var(--accent); }
th.sortable { cursor: pointer; user-select: none; } th.sortable { cursor: pointer; user-select: none; }
th.sortable:hover { color: var(--fg); } th.sortable:hover { color: var(--fg); }
th.sortable { cursor: pointer; user-select: none; white-space: nowrap; } th.sortable { cursor: pointer; user-select: none; white-space: nowrap; }
/* #209 rev: arrow sits IMMEDIATELY right of the label text (inline, small gap), /* #209: arrow sits RIGHT of the label, vertically centered, and absolutely
vertically centered, so the label text aligns with its column contents. */ positioned so it never shifts the label text; label aligns with column contents. */
th.sortable .sort-ind { th.sortable .sort-ind {
display: inline-block; margin-left: 6px; vertical-align: middle; /* #209 r2: inline right after the label text with a fixed gap, not pinned to the column edge */
width: 0; height: 0; display: inline-block; width: 0; height: 0; margin-left: 6px; vertical-align: middle;
border-left: 5px solid transparent; border-right: 5px solid transparent; border-left: 5px solid transparent; border-right: 5px solid transparent;
} }
th.sorted.asc .sort-ind { border-bottom: 6px solid var(--accent); } th.sorted.asc .sort-ind { border-bottom: 6px solid var(--accent); }