Browse Source

remove drag button on mobile

MHSanaei 1 year ago
parent
commit
aad2cd8739
1 changed files with 6 additions and 0 deletions
  1. 6 0
      web/html/xui/component/sortableTable.html

+ 6 - 0
web/html/xui/component/sortableTable.html

@@ -1,5 +1,6 @@
 {{define "component/sortableTableTrigger"}}
     <a-icon type="drag"
+        class="sortable-icon"
         style="cursor: move;"
         @mouseup="mouseUpHandler"
         @mousedown="mouseDownHandler"
@@ -202,6 +203,11 @@
 </script>
 
 <style>
+    @media only screen and (max-width: 767px) {
+        .sortable-icon {
+            display: none;
+        }
+    }
     .ant-table-is-sorting .draggable-row td {
         background-color: white !important;
     }