mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-16 15:19:06 +00:00
fix-style (#2504)
This commit is contained in:
@@ -49,10 +49,10 @@ class AddReviewerDialog extends React.Component {
|
|||||||
obj.value = res.data.users[i].name;
|
obj.value = res.data.users[i].name;
|
||||||
obj.email = res.data.users[i].email;
|
obj.email = res.data.users[i].email;
|
||||||
obj.label =
|
obj.label =
|
||||||
<div>
|
<React.Fragment>
|
||||||
<img src={res.data.users[i].avatar_url} className="avatar reviewer-select-avatar" alt=""/>
|
<img src={res.data.users[i].avatar_url} className="avatar reviewer-select-avatar" alt=""/>
|
||||||
<span className='reviewer-select-name'>{res.data.users[i].name}</span>
|
<span className='reviewer-select-name'>{res.data.users[i].name}</span>
|
||||||
</div>;
|
</React.Fragment>;
|
||||||
that.Options.push(obj);
|
that.Options.push(obj);
|
||||||
}
|
}
|
||||||
callback(this.Options);
|
callback(this.Options);
|
||||||
|
@@ -5,8 +5,8 @@
|
|||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
.reviewer-select-name {
|
.reviewer-select-name {
|
||||||
height: 2em;
|
height: 2rem;
|
||||||
line-height: 2em;
|
line-height: 2rem;
|
||||||
}
|
}
|
||||||
.reviewer-select>div>div:nth-child(2) {
|
.reviewer-select>div>div:nth-child(2) {
|
||||||
display: none;
|
display: none;
|
||||||
|
Reference in New Issue
Block a user