Merge pull request 'issue标签页样式修改' (#142) from hc1913847458/forgeplus-react:testdev into pre_develop_dev
This commit is contained in:
commit
0a81bc6e6e
|
@ -34,8 +34,13 @@ function Tags(props) {
|
||||||
dataIndex:"name",
|
dataIndex:"name",
|
||||||
key:1,
|
key:1,
|
||||||
ellipsis:true,
|
ellipsis:true,
|
||||||
|
|
||||||
render:(txt,item)=>{
|
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,
|
ellipsis:true,
|
||||||
render:(txt,item)=>{
|
render:(txt,item)=>{
|
||||||
return (
|
return (
|
||||||
<span className="color-grey-3">
|
<span className="color-grey-3 tagModel">
|
||||||
<Link className="mr3" style={{fontWeight:"500"}} to={`/${item.commit && item.commit.login}`} >{item.commit && item.commit.name}</Link>
|
<Link className="mr3" style={{fontWeight:"500"}} to={`/${item.tagger && item.tagger.login}`} >{item.tagger && item.tagger.name}</Link>
|
||||||
<span>创建于{txt}</span>
|
<span>创建于{txt}</span>
|
||||||
</span>
|
</span>
|
||||||
)
|
)
|
||||||
|
|
|
@ -21,8 +21,10 @@
|
||||||
padding:0px;
|
padding:0px;
|
||||||
height: 69px;
|
height: 69px;
|
||||||
line-height: 69px;
|
line-height: 69px;
|
||||||
|
color:#333333;
|
||||||
div{
|
div{
|
||||||
padding-left: 69px;
|
padding-left: 69px;
|
||||||
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&:last-child{
|
&:last-child{
|
||||||
|
@ -39,4 +41,16 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
}
|
||||||
|
.tagBranch{
|
||||||
|
width: 200px;
|
||||||
|
margin-left: -67px;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
overflow: hidden;
|
||||||
|
.tagClass{
|
||||||
|
color:#333333;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.tagModel{
|
||||||
|
font-weight: 400;
|
||||||
}
|
}
|
Loading…
Reference in New Issue