소스 검색

修改横版可配置样式

zhangxc 6 년 전
부모
커밋
09591d10b1
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 4 3
      src/css/indexHorizontal.less

+ 4 - 3
src/css/indexHorizontal.less

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