mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-17 15:53:28 +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.email = res.data.users[i].email;
|
||||
obj.label =
|
||||
<div>
|
||||
<React.Fragment>
|
||||
<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>
|
||||
</div>;
|
||||
</React.Fragment>;
|
||||
that.Options.push(obj);
|
||||
}
|
||||
callback(this.Options);
|
||||
|
@@ -5,8 +5,8 @@
|
||||
margin-right: 10px;
|
||||
}
|
||||
.reviewer-select-name {
|
||||
height: 2em;
|
||||
line-height: 2em;
|
||||
height: 2rem;
|
||||
line-height: 2rem;
|
||||
}
|
||||
.reviewer-select>div>div:nth-child(2) {
|
||||
display: none;
|
||||
|
Reference in New Issue
Block a user