Browse Source

perf: 优化首页的`GitHub`信息展示

Co-authored-by: Snlan <pridewui@foxmail.com>
Snlan 1 year ago
parent
commit
56368c1163
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/views/welcome/index.vue

+ 3 - 1
src/views/welcome/index.vue

@@ -145,7 +145,9 @@ getReleases().then(({ data }) => {
           </template>
           <el-skeleton animated :rows="7" :loading="loading">
             <template #default>
-              <Github />
+              <el-scrollbar :height="`calc(${height}px - 35vh - 340px)`">
+                <Github />
+              </el-scrollbar>
             </template>
           </el-skeleton>
         </el-card>