修改前端的部分样式

This commit is contained in:
sylor_huang@126.com 2020-04-27 17:05:27 +08:00
parent 3d63c16131
commit 5ab66792c6
3 changed files with 33 additions and 7 deletions

View File

@ -68,7 +68,15 @@ class MergeItem extends Component{
<li>{this.set_issue_tags(item.issue_tags)}</li>
{/*<li>{item.issue_type || "--"}</li>*/}
<li>{item.version || "--"}</li>
<li>{item.assign_user_name || "--"}</li>
<li>
{
item.assign_user_name ?
<Link to={`/users/${item.assign_user_login}/projects`} className="show-user-link">
{item.assign_user_name}
</Link>
: "--"
}
</li>
<li>
<div className="flex-1">
<p>

View File

@ -74,8 +74,26 @@ class OrderItem extends Component{
<li>{this.set_issue_tags(item.issue_tags)}</li>
{/*<li>{item.issue_type || "--"}</li>*/}
<li>{item.tracker || "--"}</li>
<li>{item.author_name || "--"}</li>
<li>{item.assign_user_name || "--"}</li>
<li>
{
item.author_name ?
<Link to={`/users/${item.author_login}/projects`} className="show-user-link">
{item.author_name}
</Link>
: "--"
}
</li>
<li>
{
item.assign_user_name ?
<Link to={`/users/${item.assign_user_login}/projects`} className="show-user-link">
{item.assign_user_name}
</Link>
: "--"
}
{/* {item.assign_user_name || "--"} */}
</li>
<li><p style={{width:60,height:25,margin:'auto', paddingTop:2,background:item.priority==='高'?'#e67e22':item.priority==='正常'?'#28be6c':item.priority==='低'?'#1abc9c':'#e74c3c',color:'#ffffff',borderRadius:4}}>{item.priority|| "--"}</p></li>
<li>{item.done_ratio || "--"}</li>
<li>

View File

@ -175,7 +175,7 @@
}
.topWrapper_select li{
text-align: center;
cursor: pointer;
/* cursor: pointer; */
color: #666;
width:90px;
text-align: center;
@ -185,10 +185,10 @@
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
}
.topWrapper_select li:active{
/* .topWrapper_select li:active{
background: #f4f4f4;
border-radius: 4px;
}
} */
.ant-dropdown-menu .ant-dropdown-menu-item{
text-align: center;
padding:6px 30px;
@ -537,7 +537,7 @@ a.issue-type-button.active:hover{background: #f4f4f4; color: #4CACFF;}
overflow-y:auto;
}
.ql-bubble .ql-editor img{
width:100px!important;
min-width:100px!important;
}
.AmplifyImg .ant-modal{
padding:0px;