瀏覽代碼

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

David Wei 1 年之前
父節點
當前提交
e43149f8e6
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/components/IconSelect/index.vue

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

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