Browse Source

fix 菜单图标选择器显示不全

David Wei 1 year ago
parent
commit
e43149f8e6
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/components/IconSelect/index.vue

+ 4 - 0
src/components/IconSelect/index.vue

@@ -68,6 +68,10 @@ const selectedIcon = (iconName: string) => {
 </script>
 </script>
 
 
 <style scoped lang="scss">
 <style scoped lang="scss">
+.el-scrollbar {
+  max-height: calc(50vh - 100px)!important;
+  overflow-y: auto;
+}
 .el-divider--horizontal {
 .el-divider--horizontal {
   margin: 10px auto !important;
   margin: 10px auto !important;
 }
 }