项目列表头部button需要更新样式

This commit is contained in:
caishi 2021-08-27 14:27:50 +08:00
parent 7dd59f7711
commit a968287331
3 changed files with 22 additions and 9 deletions

View File

@ -43,13 +43,26 @@
margin-top: -6px;
margin-bottom: 2px!important;
}
.bannerBox .ant-btn{
margin-top: 30px;
height: 40px;
font-size: 16px;
width: 120px;
.bannerBox > a{
display: inline-block;
width: 104px;
height: 30px;
line-height: 28px;
text-align: center;
border-radius: 4px;
margin-right: 40px;
border: 1px solid #666;
margin-right: 30px;
margin-top: 30px;
color: #fff;
cursor: pointer;
}
.bannerBox > a > i{
font-size: 14px!important;
display: inline-block;
margin-right: 10px;
}
.bannerBox > a > a{
color: #fff!important;
}
.ProjectListIndex{
width: 1200px;

View File

@ -65,7 +65,7 @@ function DetailBanner({ history,list , owner , projectsId , isManager , url , pa
</Link>
</li>:""
}
{
{/* {
item.menu_name === "wiki" &&
<li className={pathname === "wiki" ? "active" : ""}>
<Link to={{ pathname: `/${owner}/${projectsId}/wiki`, state }}>
@ -73,7 +73,7 @@ function DetailBanner({ history,list , owner , projectsId , isManager , url , pa
<span>Wiki</span>
</Link>
</li>
}
} */}
{
item.menu_name === "devops" && platform ?
<li className={pathname==="devops" ? "active" : ""}>

View File

@ -14,7 +14,7 @@ const menu = [
{name:"代码库",index:"code"},
{name:"易修 (Issue)",index:"issues"},
{name:"合并请求",index:"pulls"},
{name:"Wiki",index:"wiki"},
// {name:"Wiki",index:"wiki"},
{name:"工作流(beta版)",index:"devops"},
// {name:"资源库",index:"resources"},
{name:"里程碑",index:"versions"},