Skip to content

Commit 2970898

Browse files
committed
Sort-content: Add css for gist tables. See #61
1 parent 1137536 commit 2970898

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

github-sort-content.user.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name GitHub Sort Content
3-
// @version 2.0.1
3+
// @version 2.0.2
44
// @description A userscript that makes some lists & markdown tables sortable
55
// @license MIT
66
// @author Rob Garrison
@@ -335,7 +335,8 @@
335335
padding: 2px 2px 2px 10px;
336336
}
337337
/* unsorted icon */
338-
.markdown-body table thead th, table.files thead th {
338+
.markdown-body table thead th, table.files thead th,
339+
.markdown-body table.csv-data thead th {
339340
cursor: pointer;
340341
padding-right: 22px !important;
341342
background-image: url(${getIcon("unsorted", color)}) !important;
@@ -410,6 +411,7 @@
410411
}
411412
/* asc/dec icons */
412413
table thead th.asc,
414+
.markdown-body table.csv-data thead th.asc,
413415
.js-repos-container.asc .Box-title,
414416
#org_your_repos.asc .Box-title,
415417
.org-profile .TableObject.asc,
@@ -424,6 +426,7 @@
424426
background-repeat: no-repeat !important;
425427
}
426428
table thead th.desc,
429+
.markdown-body table.csv-data thead th.desc,
427430
.js-repos-container.desc .Box-title,
428431
#org_your_repos.desc .Box-title,
429432
.org-profile .TableObject.desc,

0 commit comments

Comments
 (0)