From afb599f5be3b20360d8ede11ffe0bcf8e92e6749 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Fri, 23 Apr 2021 14:46:11 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=B4=A1=E7=8C=AE=E8=80=85-=E6=82=AC?= =?UTF-8?q?=E6=B5=AE=E5=86=85=E5=AE=B9=E5=A2=9E=E5=8A=A0=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E9=93=BE=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 d02f6c43..12a899d8 100644 --- a/src/forge/Component/Component.scss +++ b/src/forge/Component/Component.scss @@ -174,7 +174,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)}/> From 1eb3c20af455d7d909d03f4010b6df9bfa5b5f66 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Fri, 23 Apr 2021 14:47:32 +0800 Subject: [PATCH 2/2] =?UTF-8?q?+=E4=B8=8A=20=E8=B4=A1=E7=8C=AE=E8=80=85?= =?UTF-8?q?=E6=82=AC=E6=B5=AE=E6=A1=86=E9=87=8C=E5=A2=9E=E5=8A=A0=E7=9A=84?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E9=93=BE=E6=8E=A5=E4=B8=8D=E8=A6=81=E6=96=B0?= =?UTF-8?q?=E5=BC=80=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Component/Contributors.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/forge/Component/Contributors.jsx b/src/forge/Component/Contributors.jsx index 7e856cf3..3c3c2a42 100644 --- a/src/forge/Component/Contributors.jsx +++ b/src/forge/Component/Contributors.jsx @@ -60,15 +60,15 @@ function Contributors({contributors,owner,projectsId,id,showNotification}){ } - + {data.projects_count} 项目数 - + {data.followers_count} 粉丝数 - + {data.following_count} 关注数