Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMHSanaei <ho3ein.sanaei@gmail.com>2024-02-28 18:45:44 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2024-02-28 18:45:44 +0300
commitaad2cd8739fe6d6e2be99ef4381c480691b98e14 (patch)
treed32cc4ddec4618ce8d643ff845f7c360e72f8b09
parent4cc0149317dde63d14837036f3ba65048d13f130 (diff)
remove drag button on mobile
-rw-r--r--web/html/xui/component/sortableTable.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/web/html/xui/component/sortableTable.html b/web/html/xui/component/sortableTable.html
index 010d8011..4e9af06d 100644
--- a/web/html/xui/component/sortableTable.html
+++ b/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;
}