Browse Source

调整首页推荐项目标题行高及点赞数据间距

tags/v1.22.1.1^2
OpenIhu 4 years ago
parent
commit
3b435bb2ac
2 changed files with 3 additions and 2 deletions
  1. +2
    -1
      custom/public/css/git.openi.css
  2. +1
    -1
      public/home/home.js

+ 2
- 1
custom/public/css/git.openi.css View File

@@ -25,6 +25,7 @@
.am-pt-30{ padding-top: 3.0rem !important;}
.am-pl-30{ padding-left: 3.0rem !important;}
.am-pl-50{ padding-left: 5.0em !important;}
.am-ml-10{ margin-left: 1.0rem !important;}
.am-ml-30{ margin-left: 3.0rem !important;}
.am-pr-30{ padding-right: 3.0rem !important;}
.am-mr-30{ margin-right: 3.0rem !important;}
@@ -264,7 +265,7 @@
min-height: 9.38em;
}
.homepro-list .ui.card>.content>.header{
line-height: 40px;
line-height: 40px !important;
}

.homepro-list .swiper-pagination-bullet-active{


+ 1
- 1
public/home/home.js View File

@@ -363,7 +363,7 @@ function displayRepo(json){
html += " <div class=\"ui fluid card\">";
html += " <div class=\"content\">";
html += " <span class=\"right floated meta\">";
html += " <i class=\"ri-star-line\"></i>" + record["NumStars"] + "<i class=\"ri-git-branch-line\"></i>" + record["NumForks"];
html += " <i class=\"ri-star-line\"></i>" + record["NumStars"] + "<i class=\"ri-git-branch-line am-ml-10\"></i>" + record["NumForks"];
html += " </span>";
html += " <img class=\"left floated mini ui image\" src=\"" + record["Avatar"] + "\">";
html += " <a class=\"header nowrap\" href=\"/" + record["OwnerName"] + "/" + record["Name"] + "\">" + record["Name"] +"</a>";


Loading…
Cancel
Save