Fix #209: move sort arrows to the right of the column label
This commit is contained in:
@@ -528,11 +528,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; }
|
||||||
/* #101: arrow sits LEFT of the label, further spaced, vertically centered,
|
/* #209: arrow sits RIGHT of the label, vertically centered, and absolutely
|
||||||
and absolutely positioned so it never shifts the label text. */
|
positioned so it never shifts the label text; label aligns with column contents. */
|
||||||
th.sortable { position: relative; padding-left: 24px; }
|
th.sortable { position: relative; padding-right: 24px; }
|
||||||
th.sortable .sort-ind {
|
th.sortable .sort-ind {
|
||||||
position: absolute; left: 8px; top: 50%; transform: translateY(-50%);
|
position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
|
||||||
display: inline-block; width: 0; height: 0;
|
display: inline-block; width: 0; height: 0;
|
||||||
border-left: 5px solid transparent; border-right: 5px solid transparent;
|
border-left: 5px solid transparent; border-right: 5px solid transparent;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user