瀏覽代碼

修改横版可配置样式

zhangxc 6 年之前
父節點
當前提交
09591d10b1
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. 4 3
      src/css/indexHorizontal.less

+ 4 - 3
src/css/indexHorizontal.less

@@ -121,14 +121,15 @@
 }
 }
 .itemAllBox{
 .itemAllBox{
     position: absolute;
     position: absolute;
-    width: 97%;
+    width: 96%;
     height: auto;
     height: auto;
-    max-height: 100%;
+    max-height: 230px;
     display: none;
     display: none;
     background: #fff;
     background: #fff;
     z-index: 2;
     z-index: 2;
     left: 0;
     left: 0;
     top: 0;
     top: 0;
+    margin: 10px 0;
 }
 }
 .ellipse{
 .ellipse{
     overflow: hidden;
     overflow: hidden;
@@ -259,7 +260,7 @@
     display: inline-block;
     display: inline-block;
 }
 }
 .itemAll{
 .itemAll{
-    height: 100%;
+    max-height: 230px;
     overflow-y: auto
     overflow-y: auto
 }
 }
 .recommendInfoItem {
 .recommendInfoItem {