1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-07-10 13:44:02 +00:00

update select icon size

This commit is contained in:
shanshuirenjia 2018-12-25 16:44:11 +08:00
parent 42930f93c6
commit 951f9a1859
2 changed files with 15 additions and 2 deletions

View File

@ -133,8 +133,8 @@ class ShareToUser extends React.Component {
obj.email = res.data.users[i].email; obj.email = res.data.users[i].email;
obj.label = obj.label =
<Fragment> <Fragment>
<img src={res.data.users[i].avatar_url} className="avatar reviewer-select-avatar" alt=""/> <img src={res.data.users[i].avatar_url} className="select-module select-module-icon avatar" alt="Avatar"/>
<span className='reviewer-select-name'>{res.data.users[i].name}</span> <span className='select-module select-module-name'>{res.data.users[i].name}</span>
</Fragment>; </Fragment>;
this.options.push(obj); this.options.push(obj);
} }

View File

@ -1078,3 +1078,16 @@ table .menu-toggle {
.wiki-list-table td { .wiki-list-table td {
line-height: 1.5rem; line-height: 1.5rem;
} }
/* react select-module */
.select-module {
font-size: 1rem;
}
.select-module.select-module-icon {
width: 1.5rem;
height: 1.5rem;
}
.select-module.select-module-name {
margin-left: 0.5rem;
}