diff --git a/src/forge/Component/Component.scss b/src/forge/Component/Component.scss index 226e9fe62..46aa8fcce 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 f3353645f..7e856cf3d 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)}/>