Apply suggestions from code review

Co-authored-by: Richard Schreiber <schreiber@rami.io>
This commit is contained in:
Mira
2024-06-24 17:34:42 +02:00
committed by Mira Weller
co-authored by Richard Schreiber
parent 58a9a25515
commit b7cd10308f
2 changed files with 3 additions and 2 deletions
@@ -3,7 +3,7 @@ $(function () {
$("[data-dnd-url]").each(function(){
const container = $(this),
url = container.data("dnd-url"),
handle = $('<span class="btn btn-default btn-sm dnd-sort-handle"><i class="fa fa-arrows"></i></span>');
handle = $('<button type="button" class="btn btn-default btn-sm dnd-sort-handle"><i class="fa fa-arrows"></i></button>');
container.find(".dnd-container").append(handle);
container.find(".sortable-up, .sortable-down").addClass("sr-only");
@@ -852,7 +852,8 @@ tbody[data-dnd-url] {
.sortable-sorting tbody:not(.sortable-dragarea) {
opacity: .4;
}
th span.not-bold {
.font-normal {
font-style: normal;
font-weight: normal;
}
tbody th {