rabin 3 年 前
コミット
9836b940b4
1 ファイル変更6 行追加3 行削除
  1. 6 3
      assets/layadmin/html/project/database/list.html

+ 6 - 3
assets/layadmin/html/project/database/list.html

@@ -10,6 +10,9 @@
 <style id="addstyle">
 </style>
 <style>
+body {
+  width: fit-content;
+}
 .layui-table-cell .layui-select,.layui-table-cell .layui-input
 {
     height: 25px;
@@ -22,7 +25,7 @@
   min-width: 60px;
 }
 #table_2,#table_1 {
-  overflow: auto;
+  /*overflow: auto;*/
 }
 .layui-btn-xs
 {
@@ -46,8 +49,8 @@
   height:300px;
 }
 .table-header-fixed {
-    top: 0;
-    position: fixed;
+    top: -1px;
+    position: sticky;
     z-index: 999;
 }
 .goods_table {