diff --git a/src/forge/Main/Index.js b/src/forge/Main/Index.js index 8b4b8581f..7dd5372df 100644 --- a/src/forge/Main/Index.js +++ b/src/forge/Main/Index.js @@ -360,31 +360,29 @@ class Index extends Component {

- -
- -
    -
  • - - 语言 -
  • - {typeList} -
-
+ +
+ +
    +
  • + + 语言 +
  • +
    {typeList}
    +
+
-
- -
    -
  • - - 项目类别 -
  • - {categoryList} -
-
+
+ +
    +
  • + + 项目类别 +
  • +
    {categoryList}
    +
+
- -
- + {item.author.name}/{item.name} { item.forked_from_project_id ? @@ -50,7 +50,7 @@ class IndexItem extends Component { fork ({item.forked_count})
-

{item.description}

+

{item.description}

diff --git a/src/forge/Main/list.css b/src/forge/Main/list.css index 6f015cd0f..67bb2a81d 100644 --- a/src/forge/Main/list.css +++ b/src/forge/Main/list.css @@ -96,10 +96,15 @@ box-shadow:0px 2px 20px 10px rgba(0,0,0,0.03); } .p-r-photo{ - width: 60px; - height: 60px; + width: 40px; + height: 40px; border-radius: 50%; - margin-right: 22px; + margin-right: 18px; +} +.p-r-detail{ + font-size: 12px; +color: #888888; +line-height: 16px; } .p-r-Infos{ flex: 1; diff --git a/src/forge/css/index.scss b/src/forge/css/index.scss index 034b33a37..4a595a358 100644 --- a/src/forge/css/index.scss +++ b/src/forge/css/index.scss @@ -155,8 +155,8 @@ form{ .list-affix{ -ms-overflow-style: none; overflow: -moz-scrollbars-none; - min-height: 200px; - max-height: 45vh; + min-height: 20px; + max-height: 32.5vh; overflow-y: auto; } .vh-100{ @@ -171,14 +171,14 @@ form{ box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.08); border-radius: 5px; - &>li{ + & li{ font-size: 1rem; padding:0px 0px 0px 20px; box-sizing: border-box; color: #333; position: relative; border-radius: 5px; - & > p{ + & p{ height: 62px; line-height: 62px; width: 100%; @@ -215,13 +215,13 @@ form{ background: #4CACFF; } .MenuTitle{ - font-size: 16px; + font-size: 18px; background-size: 100% 100%; color: #333!important; height: 62px; line-height: 62px; border-bottom: 1px solid #eeeeee; - font-weight: 400; + font-weight: 500; } .ant-menu-inline{ border:none; @@ -232,4 +232,5 @@ form{ .ant-menu-item-group-title{ padding:0px; } + }