我正在使用以下方法将图标添加到已排序的列标题。如何将图标添加到未排序的列。
.ReactTable .rt-thead .rt-th.-sort-asc,
.ReactTable .rt-thead .rt-td.-sort-asc {
box-shadow: inset 0 0px 0 0 rgba(0, 0, 0, 0.6)
}
.ReactTable .rt-thead .rt-th.-sort-desc,
.ReactTable .rt-thead .rt-td.-sort-desc {
box-shadow: inset 0 0px 0 0 rgba(0, 0, 0, 0.6);
}
div.sort-desc ::之后{
content: " \25BC";
/* content:"\02C5"; */
float: center;
}
div.sort-asc ::之后{
content: " \25B2";
/* content:"\02C4"; */
float: center;
}