Skip to content

Commit 7cf908f

Browse files
committed
Moved the data table sort icons next to the column headings.
1 parent faaeff6 commit 7cf908f

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

analytics_dashboard/static/sass/_developer.scss

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,11 +216,22 @@ body.view-course-list {
216216
}
217217

218218
// DataTables
219-
// Icon spacing
219+
// align the headings with the text in the rows
220+
table.dataTable thead > tr > th {
221+
padding-left: 6px;
222+
padding-right: 6px;
223+
}
224+
225+
// Icon spacing and position the arrows next to the header labels
220226
table.dataTable thead th.sorting:after,
221227
table.dataTable thead th.sorting_asc:after,
222228
table.dataTable thead th.sorting_desc:after {
223-
right: 3px;
229+
position: relative;
230+
top: 0px;
231+
right: 0px;
232+
display: inline;
233+
padding-left: 8px;
234+
font-family: FontAwesome;
224235
}
225236

226237
//Sort Icon Color

0 commit comments

Comments
 (0)