Explorar o código

!37 修复 菜单图标选择器小屏幕显示不全的问题
Merge pull request !37 from David Wei/ts_fix_iconselect

疯狂的狮子Li hai 1 ano
pai
achega
78d120c423
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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;
 }