Browse Source

联级选择器问题

hbchen 8 months ago
parent
commit
8caf5360ff
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/styles/global.scss

+ 3 - 2
src/styles/global.scss

@@ -156,7 +156,8 @@ button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusri
 }
 }
 // 联级选择器 浮窗高度拉高
 // 联级选择器 浮窗高度拉高
 .el-cascader-menu__wrap{
 .el-cascader-menu__wrap{
-    height: auto;
+    height: calc(100% + 7px);
+    // height: auto;    
     max-height: 408px;
     max-height: 408px;
-    overflow-x: auto;
+    // overflow-x: auto;
 }
 }