Merge pull request #217 from fen/fix-209
Fix #209 r2: arrows immediately right of the column label text
This commit is contained in:
@@ -523,11 +523,11 @@ td .id-link:hover { color: var(--accent); }
|
||||
th.sortable { cursor: pointer; user-select: none; }
|
||||
th.sortable:hover { color: var(--fg); }
|
||||
th.sortable { cursor: pointer; user-select: none; white-space: nowrap; }
|
||||
/* #209 rev: arrow sits IMMEDIATELY right of the label text (inline, small gap),
|
||||
vertically centered, so the label text aligns with its column contents. */
|
||||
/* #209: arrow sits RIGHT of the label, vertically centered, and absolutely
|
||||
positioned so it never shifts the label text; label aligns with column contents. */
|
||||
th.sortable .sort-ind {
|
||||
display: inline-block; margin-left: 6px; vertical-align: middle;
|
||||
width: 0; height: 0;
|
||||
/* #209 r2: inline right after the label text with a fixed gap, not pinned to the column edge */
|
||||
display: inline-block; width: 0; height: 0; margin-left: 6px; vertical-align: middle;
|
||||
border-left: 5px solid transparent; border-right: 5px solid transparent;
|
||||
}
|
||||
th.sorted.asc .sort-ind { border-bottom: 6px solid var(--accent); }
|
||||
|
||||
Reference in New Issue
Block a user