Skip to content

Commit 25b2c08

Browse files
committed
Add sort direction indicators to admin tables
1 parent 907be37 commit 25b2c08

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

templates/layout/queue.php

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,29 @@
221221
color: var(--queue-secondary);
222222
}
223223

224+
.queue-table thead th a {
225+
color: inherit;
226+
display: inline-flex;
227+
align-items: center;
228+
gap: 0.35rem;
229+
text-decoration: none;
230+
}
231+
232+
.queue-table thead th a.asc,
233+
.queue-table thead th a.desc {
234+
color: var(--queue-dark);
235+
}
236+
237+
.queue-table thead th a.asc::after {
238+
content: "\2191";
239+
font-size: 0.875em;
240+
}
241+
242+
.queue-table thead th a.desc::after {
243+
content: "\2193";
244+
font-size: 0.875em;
245+
}
246+
224247
.queue-table tbody tr:hover {
225248
background-color: rgba(13, 110, 253, 0.04);
226249
}

0 commit comments

Comments
 (0)