Add sorting to client and traffic columns, fix typo (#1005)

* Enable sorting for client and traffic columns in innerColumns and client column in innerMobileColumns.
Fix typo: mobileColums -> mobileColumns.

* Refactored sorter functions in inbounds.html

* Fix sorting issue in inbounds.html

* Refactor email sorting function in inbounds.html

* Add traffic sorting to inbounds table

* small changes

* Add hover effect to table column sorters

* Update background color in dark mode

* Fix hover background color in dark mode

* Remove unnecessary CSS styles for table column sorters

---------

Co-authored-by: Alireza Ahmadi <alireza7@gmail.com>
This commit is contained in:
Mohammadi, Erfan
2024-02-26 18:31:34 +03:30
committed by Alireza Ahmadi
parent 1025eeebf9
commit 50d4e67e59
2 changed files with 71 additions and 16 deletions

View File

@@ -683,7 +683,8 @@ style attribute {
border-color: #9ea2a8;
}
.dark .ant-table-row-expand-icon:hover {
.dark .ant-table-row-expand-icon:hover,
.dark .ant-table-thead>tr>th.ant-table-column-has-actions.ant-table-column-has-sorters:hover {
color: #0e49b5;
background-color: #fff0;
border-color: #0e49b5;
@@ -1080,4 +1081,4 @@ li.ant-select-dropdown-menu-item:empty:after {
.ant-input-group-addon:not(:first-child):not(:last-child), .ant-input-group-wrap:not(:first-child):not(:last-child), .ant-input-group>.ant-input:not(:first-child):not(:last-child) {
border-radius: 0rem 1rem 1rem 0rem;
}
}