mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-03 16:10:26 +00:00
01 change sort menu style (#6923)
This commit is contained in:
@@ -46,11 +46,9 @@ class ReposSortMenu extends React.Component {
|
||||
<DropdownMenu right={true} className="mt-1">
|
||||
{sortOptions.map((item, index) => {
|
||||
return (
|
||||
<DropdownItem key={index} onClick={this.props.onSelectSortOption.bind(this, item)}>
|
||||
<div className="d-flex justify-content-between align-items-center">
|
||||
<span className="mr-8">{item.text}</span>
|
||||
<span>{item.isSelected && <i className="sf2-icon-tick"></i>}</span>
|
||||
</div>
|
||||
<DropdownItem key={index} onClick={this.props.onSelectSortOption.bind(this, item)} className="pl-5 position-relative">
|
||||
{item.isSelected && <i className="dropdown-item-tick sf2-icon-tick"></i>}
|
||||
{item.text}
|
||||
</DropdownItem>
|
||||
);
|
||||
})}
|
||||
|
Reference in New Issue
Block a user