issue标签页样式

This commit is contained in:
hucong 2021-10-12 11:03:03 +08:00
parent 539fa64358
commit fd58c70c54
2 changed files with 10 additions and 3 deletions

View File

@ -34,10 +34,11 @@ function Tags(props) {
dataIndex:"name",
key:1,
ellipsis:true,
render:(txt,item)=>{
return(
<div className="tagBranch">
<Link className="hover" to={`/${owner}/${projectsId}/tree/${item.name}`}>{item.name}</Link>
<Link className="hover tagClass" to={`/${owner}/${projectsId}/tree/${item.name}`}>{item.name}</Link>
</div>
)
}
@ -49,7 +50,7 @@ function Tags(props) {
ellipsis:true,
render:(txt,item)=>{
return (
<span className="color-grey-3">
<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,10 +21,10 @@
padding:0px;
height: 69px;
line-height: 69px;
color:#333333;
div{
padding-left: 69px;
font-weight: 500;
color:#333333;
}
}
&:last-child{
@ -47,4 +47,10 @@
margin-left: -67px;
text-overflow: ellipsis;
overflow: hidden;
.tagClass{
color:#333333;
}
}
.tagModel{
font-weight: 400;
}