Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KeenthemesHub/ceca547313ac6ebe25feaa962ccd7fad to your computer and use it in GitHub Desktop.
Save KeenthemesHub/ceca547313ac6ebe25feaa962ccd7fad to your computer and use it in GitHub Desktop.
// Sorting
table.dataTable > thead {
.sorting_disabled,
.sorting {
&:after,
&:before {
display: none !important;
}
}
.sorting_asc:not(.sorting_disabled),
.sorting_desc:not(.sorting_disabled) {
vertical-align: middle;
&:before,
&:after {
position: relative !important;
opacity: 1 !important;
display: inline-block !important;
width: 0.75rem;
height: 0.75rem;
content: " " !important;
//top: 50%;
bottom: auto;
right: auto !important;
left: auto;
margin-left: 0.5rem;
}
&:before {
display: none !important;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment