Explorar el Código

修改:pad端靶向提升样式适配

liurongli hace 2 días
padre
commit
949d64d7cc
Se han modificado 1 ficheros con 17 adiciones y 2 borrados
  1. 17 2
      src/styles/pad_common.scss

+ 17 - 2
src/styles/pad_common.scss

@@ -182,6 +182,7 @@
     }
     .layout_main {
       height: 100% !important;
+      overflow: hidden;
       .user_mains {
         flex-direction: column;
         padding: 0 0 10px;
@@ -259,10 +260,24 @@
             }
           }
           .region_container {
-            flex-wrap: wrap;
+            // flex-wrap: wrap;
             gap: 10px;
+            flex-wrap: nowrap;
+            overflow-x: auto;
+            // 隐藏整个滚动条轨道区域
+            &::-webkit-scrollbar {
+              display: none;
+            }
+
+            // 禁用 IE 和 Edge 浏览器的滚动条
+            -ms-overflow-style: none;
+
+            // 禁用 Firefox 滚动条
+            scrollbar-width: none;
             .region_section {
-              flex: 1 1 calc(50% - 5px);
+              // flex: 1 1 calc(50% - 5px);
+              width: 400px;
+              flex: 0 0 400px;
               min-width: 0;
               height: auto;
               min-height: 320px;