Merge pull request 'issue标签页样式修改' (#142) from hc1913847458/forgeplus-react:testdev into pre_develop_dev

This commit is contained in:
jasder 2021-10-12 11:06:15 +08:00
commit 0a81bc6e6e
2 changed files with 22 additions and 3 deletions

View File

@ -34,8 +34,13 @@ function Tags(props) {
dataIndex:"name",
key:1,
ellipsis:true,
render:(txt,item)=>{
return <Link className="hover" to={`/${owner}/${projectsId}/tree/${item.name}`} >{item.name}</Link>
return(
<div className="tagBranch">
<Link className="hover tagClass" to={`/${owner}/${projectsId}/tree/${item.name}`}>{item.name}</Link>
</div>
)
}
},
{
@ -45,8 +50,8 @@ function Tags(props) {
ellipsis:true,
render:(txt,item)=>{
return (
<span className="color-grey-3">
<Link className="mr3" style={{fontWeight:"500"}} to={`/${item.commit && item.commit.login}`} >{item.commit && item.commit.name}</Link>
<span className="color-grey-3 tagModel">
<Link className="mr3" style={{fontWeight:"500"}} to={`/${item.tagger && item.tagger.login}`} >{item.tagger && item.tagger.name}</Link>
<span>创建于{txt}</span>
</span>
)

View File

@ -21,8 +21,10 @@
padding:0px;
height: 69px;
line-height: 69px;
color:#333333;
div{
padding-left: 69px;
font-weight: 500;
}
}
&:last-child{
@ -39,4 +41,16 @@
display: flex;
align-items: center;
justify-content: center;
}
.tagBranch{
width: 200px;
margin-left: -67px;
text-overflow: ellipsis;
overflow: hidden;
.tagClass{
color:#333333;
}
}
.tagModel{
font-weight: 400;
}