Set sortable on table header instead of label

This way the cursor is rendered as pointer over the clickable element.
This commit is contained in:
Cédric Krier
2026-03-18 19:47:50 +01:00
parent 3c8621dc9f
commit 741eaf801c
2 changed files with 5 additions and 4 deletions
+4 -3
View File
@@ -872,6 +872,10 @@ img.icon {
position: relative;
padding: 5px;
&.sortable {
cursor: pointer;
}
> label {
display: inline-block;
overflow: hidden;
@@ -880,9 +884,6 @@ img.icon {
margin: 0;
vertical-align: bottom;
&.sortable {
cursor: pointer;
}
}
> div.resizer {
+1 -1
View File
@@ -239,7 +239,7 @@
}
this.sort_model(e);
});
label.addClass('sortable');
th.addClass('sortable');
}
tr.append(th.append(label));
let resizer = jQuery('<div/>', {