Skip to content

Commit

Permalink
Sort-Content: Include background no-repeat with sorted arrows. Fixes #5
Browse files Browse the repository at this point in the history
  • Loading branch information
Mottie committed Aug 20, 2016
1 parent ce142bd commit f507d13
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion github-sort-content.user.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ==UserScript==
// @name GitHub Sort Content
// @version 1.0.3
// @version 1.0.4
// @description A userscript that makes some lists & markdown tables sortable
// @license https://creativecommons.org/licenses/by-sa/4.0/
// @namespace http://github.com/Mottie
Expand Down Expand Up @@ -144,11 +144,15 @@
div.filter-repos.asc, div.filter-bar.asc,
.org-toolbar.asc, .sort-bar.asc, h2 + .tabnav > .tabnav-tabs.asc {
background-image:url(${styles.asc}) !important;
background-repeat:no-repeat !important;
background-position:calc(100% - 5px) center !important;
}
table thead th.desc, div.boxed-group h3.desc,
div.filter-repos.desc, div.filter-bar.desc,
.org-toolbar.desc, .sort-bar.desc, h2 + .tabnav > .tabnav-tabs.desc {
background-image:url(${styles.desc}) !important;
background-repeat:no-repeat !important;
background-position:calc(100% - 5px) center !important;
}
/* remove sort arrows */
.popular-repos + div.boxed-group h3 {
Expand Down

0 comments on commit f507d13

Please sign in to comment.