Skip to content

Commit

Permalink
Fix: Add alternative text for sorting content
Browse files Browse the repository at this point in the history
https://datatables.net/forums/discussion/75596

Note that not all browsers support alternative content, so a "backup" value is left for such browsers.
  • Loading branch information
AllanJard committed Mar 1, 2023
1 parent c22323d commit 9498524
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions css/ordering.scss
Expand Up @@ -26,11 +26,13 @@ table.dataTable thead {
&:before {
bottom: 50%;
content: "\25B2"; // up arrow - ascending
content: "\25B2" / "";
}

&:after {
top: 50%;
content: "\25BC"; // down arrow - descending
content: "\25BC" / "";
}
}

Expand Down

0 comments on commit 9498524

Please sign in to comment.