Permalink
Browse files

fix(table): Sorting directions & arrows

  • Loading branch information...
tmorehouse committed Aug 12, 2017
1 parent a0e0b83 commit de1de97e8b7b4d0f99546fce9e39f790244934d7
Showing with 6 additions and 6 deletions.
  1. +6 −6 lib/components/table.vue
@@ -412,7 +412,7 @@
if (sortBy && !this.providerSorting) {
items = items.sort((a, b) => {
const r = sortCompare(a, b, sortBy);
return sortDesc ? r : r * -1;
return sortDesc ? (r * -1) : r;
});
}
@@ -605,10 +605,10 @@
content: "\2193";
}
table.b-table > thead > tr > .sorting_asc:after,
table.b-table > thead > tr > .sorting_desc:before,
table.b-table > tfoot > tr > .sorting_asc:after,
table.b-table > tfoot > tr > .sorting_desc:before {
table.b-table > thead > tr > .sorting_desc:after,
table.b-table > thead > tr > .sorting_asc:before,
table.b-table > tfoot > tr > .sorting_desc:after,
table.b-table > tfoot > tr > .sorting_asc:before {
opacity: 1;
}
@@ -619,6 +619,6 @@
}
table.b-table[aria-busy="true"] {
opacity: .6;
opacity: .65;
}
</style>

0 comments on commit de1de97

Please sign in to comment.