From f774ce974d54ab307093b585bcde97e15f1105c2 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Fri, 23 Apr 2021 14:46:11 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=A1=E7=8C=AE=E8=80=85-=E6=82=AC=E6=B5=AE?= =?UTF-8?q?=E5=86=85=E5=AE=B9=E5=A2=9E=E5=8A=A0=E8=B7=B3=E8=BD=AC=E9=93=BE?= =?UTF-8?q?=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Component/Component.scss | 2 +- src/forge/Component/Contributors.jsx | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/forge/Component/Component.scss b/src/forge/Component/Component.scss index 226e9fe6..46aa8fcc 100644 --- a/src/forge/Component/Component.scss +++ b/src/forge/Component/Component.scss @@ -171,7 +171,7 @@ li.ant-menu-item{ } .menuinfos{ padding:15px 0px; - li{ + &>a{ display: flex; flex-direction: column; align-items: center; diff --git a/src/forge/Component/Contributors.jsx b/src/forge/Component/Contributors.jsx index f3353645..7e856cf3 100644 --- a/src/forge/Component/Contributors.jsx +++ b/src/forge/Component/Contributors.jsx @@ -60,18 +60,18 @@ function Contributors({contributors,owner,projectsId,id,showNotification}){ } -
  • + {data.projects_count} 项目数 -
  • -
  • + + {data.followers_count} 粉丝数 -
  • -
  • + + {data.following_count} 关注数 -
  • +
    { data.organizations && data.organizations.length > 0 ? @@ -145,7 +145,7 @@ function Contributors({contributors,owner,projectsId,id,showNotification}){ total > 0 ? list.map((item,key)=>{ return( - + setVisibleFunc(true,item.login,key)}/>